Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#8110 closed defect (fixed)

Parts of a GPX-Track saved in wrong order after editing

Reported by: Cottaer Owned by: team
Priority: minor Milestone: 15.10
Component: Core Version: tested
Keywords: GPX, tracks, track segments, track parts Cc:


Somehow it comes, that my GPS-logging-software, when it looses GPS-signal for a few seconds, inserts into the file </trkseg><trkseg>. When I work with the track in Josm (loading, converting to data, editing (in the meaning of deleting some bad points) and converting it back to GPX, Josm saves these GPX-segments in the wrong order, and adds </trk><trk> inbetween </trkseg><trkseg>.
When uploading to OSM, these tracks will look like a closed ring with a big straight line inbetween, because the start/end of the track is now somewhere in the middle.
Suggestion: Josm should take the timestamp into account, when converting and saving back to GPX.
(I will leave the example online for two weeks, before replacing with a manually repaired version.)

Attachments (2)

Exp-120910-44,5km.gpx (486.5 KB ) - added by Cottaer 12 years ago.
original track
Exp-120910-44,5km-ed.gpx (264.4 KB ) - added by Cottaer 12 years ago.
track after editing with Josm

Download all attachments as: .zip

Change History (5)

comment:1 by stoecker, 12 years ago

Attach everything important to the ticket:

  • The original file
  • e.g. a screenshot.

by Cottaer, 12 years ago

Attachment: Exp-120910-44,5km.gpx added

original track

by Cottaer, 12 years ago

Attachment: Exp-120910-44,5km-ed.gpx added

track after editing with Josm

comment:2 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 8807/josm:

fix #8110 - Conversion gpx -> osm -> gpx now retains order of segments (<trkseg>)

comment:3 by simon04, 9 years ago

Milestone: 15.10

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.