Modify

Opened 4 years ago

Closed 4 months ago

#2900 closed enhancement (fixed)

Saving and reopening of downloaded gpx segments displays distorted data

Reported by: Fabi2 Owned by: team
Priority: normal Component: Core
Version: latest Keywords:
Cc:

Description

I downloaded a bounding box together with it's GPS-data from the server. Then I saved the downloaded gpx-layer in a file as there are only few changes in the downloaded area. After closing and reopening JOSM and the saved gpx file JOSM displays distorted data.

JOSM 1759 + OpenJDK 1.6.0

Attachments (2)

Screenshot-Java OpenStreetMap Editor.png (103.5 KB) - added by bastiK 4 years ago.
downloaded gpx (http://www.openstreetmap.org/?lat=54.087&lon=13.392&zoom=11)
Screenshot-Java OpenStreetMap Editor-1.png (125.8 KB) - added by bastiK 4 years ago.
saved and reopened

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by xeen

  • Owner changed from team to Fabi2
  • Priority changed from major to normal
  • Status changed from new to needinfo

I just downloaded an area from where I lived, exported and re-opened the gpx file and it worked fine for me. Can you specify where this does not work and/or upload a defect file?

comment:2 Changed 4 years ago by stoecker

  • Resolution set to worksforme
  • Status changed from needinfo to closed

Changed 4 years ago by bastiK

saved and reopened

comment:3 Changed 4 years ago by bastiK

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Here are some screenshots that show the problem.

Saving and reopening should really be transparent.

This way we can some day implement sessions, e.g. close and restart JOSM such that all opened layers are recovered the way they were before.

comment:4 Changed 4 years ago by stoecker

  • Owner changed from Fabi2 to team
  • Status changed from reopened to new
  • Type changed from defect to enhancement

Hmm, I think this is a wontfix. The OSM server does not give us traces, but only one big lump of positions. So we have different display settings for server and files to work around this. As soon as you save and reopen, the state changes from server to file and other settings apply.

Maybe we can add a special JOSM key to saved GPX files to transport the "server"-state across saving.

comment:5 Changed 4 years ago by bastiK

Well, I think wontfix is not an option here. :)

If you download several MB of traces, then right click on the layer -> save as, afterwards reopen it and have the etire screen full of useless trash - that's just not acceptable.

Nowadays, there should be tracks with timestamps as well (http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces). Im not sure it is already supported by JOSM, but, "Layer->save as" should really be renamed to "Layer->export as gpx" if it does just that.

Putting some extra tags in the gpx file sounds fine (unless it confuses other apps).

comment:6 Changed 2 years ago by stoecker

A note to clear situation: The useless trash can be changed simply by applying the same distance measure for GPX files as for server. This trashy behavior is based on the fact, that for server we have a very short value, for GPX files a much larger one. The value how long a segment may be can be changed in preferences.

comment:7 Changed 4 months ago by bastiK

  • Resolution set to fixed
  • Status changed from new to closed

In 5679/josm:

fixed #2900 - Saving and reopening of downloaded gpx segments displays distorted data (see #7247; namespace aware xml parsing is needed now, so #7247 is open again)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.