I was curious so I looked at the differences between osmand gpx-files and 
other gpx files.

I created a short route in OsmAnd with three intermediate points and a 
destination point. I calculated the route between points and saved the file 
to osmand.gpx

I created almost the same route on myRouteApp.com and saved the files to 
myrouteapp.gpx

Then I imported the file myrouteapp.gpx into OsmAnd, calculated the route 
between points and saved it to importedmyrouteapp.gpx.


So there are three files:

– osmand.gpx: a shortroute that is created in OsmAnd with 4 waypoints

– myrouteapp.gpx: almost the same route created on MyRouteApp.com

– importedmyrouteapp.gpx: the imported and saved route.

There are three sections in each gpx file: <trk> = track information; <rte> 
= route information and <wpt> = waypoint information


osmand.gpx:

– gpx version 1.1

-<trk>: 

many trackpoints including elevation information

-<rte>:

navigaton messages. 

-<wpt> 

4 destination waypoints


myrouteapp.gpx:

– gpx version 1.1

<trk>:

many trackpoints, elevation is allways 0.00

<rte>:

2 via-ponts (start and finish)

3 shaping points

<wpt>:

not present


importedrouteapp.gpx:

– gpx version 1.1

<trk>:

many trackpoint, elevation information is added

<rte>

navigation messages

<wpt>

one waypoint (finish)


It is obvious that the files are very different. OsmAnd uses the <rte> 
section for navigation messages and stores the routing points in the <wpt> 
section. MyRouteApp stores the routing points in the <rte> section. The 
starting point is not stored in OsmAnd but is stored in MyRouteApp.

After importing the myrouteapp.gpx file. OsmAnd recognized the via-points 
and shaping points in the <rte> section and uses them to calculate a route. 
I find it strange that I cannot see the via-points and shaping points in 
the file importedmyrouteapp.gpx


No wonder that there are problems with navigating imported gpx-files.



-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/1174e1cb-a10c-4857-b743-74b49fa31c3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: importedmyrouteapp.gpx
Description: application/gpx

Attachment: myrouteapp.gpx
Description: application/gpx

Attachment: osmand.gpx
Description: application/gpx

Reply via email to