Hallo Locus team,
I am developing two add ons with Locus API. For both of them, I need to represent summits and valleys in the hierarchy of classes around Point. First I need to encode this generic SUMMIT / VALLEY enumeration and return it as a new Waypoint to Locus (using Locus API, not app import). (Many Garmin Edge devices have the ability to tell me "now you are going to be mostly climbing / descending for 5 km / 10 minutes"). I cannot figure out how to properly represent this summit valley classification.
Then I need to decode it from the data containers that Locus uses around Waypoints and map them together with all other enumerations from PointRteAction to a collection of types that Garmin's fitSDK understands. I have been previously working with .tcx files. Locus imports them ok, it assigns nice icons to both summits and valleys and also parses other data from <coursepoint> element like name and description and adds PASS_PLACE PointRteAction. Of course I could encode summits / valleys in the name e.t.c but having those two add ons related in such a tightly coupled way would be very bad. I can provide any details and data needed. Thanks, Radim.
I am developing two add ons with Locus API. For both of them, I need to represent summits and valleys in the hierarchy of classes around Point. First I need to encode this generic SUMMIT / VALLEY enumeration and return it as a new Waypoint to Locus (using Locus API, not app import). (Many Garmin Edge devices have the ability to tell me "now you are going to be mostly climbing / descending for 5 km / 10 minutes"). I cannot figure out how to properly represent this summit valley classification.
Then I need to decode it from the data containers that Locus uses around Waypoints and map them together with all other enumerations from PointRteAction to a collection of types that Garmin's fitSDK understands. I have been previously working with .tcx files. Locus imports them ok, it assigns nice icons to both summits and valleys and also parses other data from <coursepoint> element like name and description and adds PASS_PLACE PointRteAction. Of course I could encode summits / valleys in the name e.t.c but having those two add ons related in such a tightly coupled way would be very bad. I can provide any details and data needed. Thanks, Radim.