OutRun
OutRun copied to clipboard
Exported GPX File Contains Duplicate Track Points Repeated Inside Subsequent Track Segments
Describe the bug I noticed that when I open an exported GPX file in a GPX viewer (I tried two) that the mileage was way off. It also showed strange lines radiating back to the starting point if I had any kind of 'use segments' configuration checked in the viewer.
When I opened the GPX file in a text editor I notices that there are multiple
For example.
<trk>
<trkseg>
<trkpt> A </trkpt>
</trkseg>
<trkseg>
<trkpt> A </trkpt>
<trkpt> B </trkpt>
</trkseg>
<trkseg>
<trkpt> A </trkpt>
<trkpt> B </trkpt>
<trkpt> C </trkpt>
</trkseg>
</trk>
If I delete every segment but the last, the route information starts to look correct. Note that this is only the GPX file. The information inside OutRun always looks correct.
To Reproduce Steps to reproduce the behavior:
- Export a workout to a GPX file
- Open GPX file in GPX viewer (i.e. GPXSee) or simply examine XML
Expected behavior I assume each segment should start on its own without including the previous segments track points.
Device Information (please complete the following information):
- iPhone: iPhone SE
- OS: iOS 18
- Version: 1,3
Additional context I know you are busy. As stated about, I can currently work-around this by deleting all but the last trkseg, but it would be nice not to have to cleanup the file.
Thanks for your work on this. I really appreciate havinh an open source option for iOS that I can trust to respect my privacy and not to screw with my data.
I have this issue as well. Workaround is the same.
Likewise, same issue here.
I drop a very simple script for those who, like me, need to fix many GPX files