GPX file created when exporting multiple tracks which include waypoints

Hilbert Setter shared this question 22 days ago
Answered

When two (or more) tracks are exported into a single gpx file, if the tracks include waypoints, Locus Map creates a gpx file with this order of tags:

<waypoints of first track>

<first track>

<waypoints of second track>

<second track>

I looked at the gpx schema and it is not clear to me if this order is valid or not according to it; anyway I usually find gpx files having the list of all waypoints before the list of all tracks.

Some programs (eg: Garmin Basecamp, Mapsource) require this order, thus they refuse to load the gpx file exported by Locus and expect this more common sequence:

<waypoints of first track>

<waypoints of second track>

<first track>

<second track>

Is there a way to configure Locus so that it follows this order when it creates the exported gpx file?

Thanks

Hilbert

Replies (1)

photo
1

Hi Hilbert,

thank you for the detailed explanation. We understand why this can be inconvenient. In Locus Map, waypoints are internally exported in direct relation to their parent tracks. Changing the export logic to first collect and reorder all waypoints globally before exporting tracks would require a significant refactoring of the GPX export pipeline. As a practical workaround, we recommend exporting tracks one by one when compatibility with Garmin software is required.

Marek, Locus team

This comment is in trash! Restore
Leave a Comment
 
Attach a file
You can't vote. Please authorize!