Modify

Opened 16 years ago

Closed 16 years ago

#1943 closed enhancement (fixed)

[PATCH] Separate Download and file GPX layers

Reported by: raffourtit@… Owned by: framm
Priority: minor Milestone:
Component: Core Version: tested
Keywords: gpx Cc:

Description

using josm 1198

When raw gps data is downloaded it merges into the layer containing a user loaded gpx file. This makes it impossible to see only the user gpx file.

Steps to reproduce

  • Start JOSM
  • open a local .gpx file for editing (call it foo.gpx)
  • download OSM data (select both 'openstreetmap data' and 'Raw GPS Data')
  • Setting layer foo.gpx invisible also hides the raw gps points. There is no way to hide the raw GPS points and still show foo.gpx.

As a workaround: Use File, Open, foo.gpx again. Then another layer is created.

Attachments (2)

Server GPX data to new layer.patch (1.6 KB ) - added by xeen 16 years ago.
Server GPX data to new layer AND fixing bug 1872.patch (1.7 KB ) - added by xeen 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by stoecker, 16 years ago

Summary: Downloaded gpx data layer merges with user gpx layerSeparate Download and file GPX layers
Type: defectenhancement

comment:2 by xeen, 16 years ago

You can check the "create new layer", too. Currently this is by design, but we probably don't want to merge downloaded and local GPX data, at least I've never found it useful. Might make fixing #1872 easier, too.

comment:3 by xeen, 16 years ago

Summary: Separate Download and file GPX layers[PATCH] Separate Download and file GPX layers

That was actually pretty easy. It looks for download.gps.mergeWithLocal (default: false) and then decides whether two layers can be merged using layer.data.fromServer.

comment:4 by xeen, 16 years ago

The latter patch uses a che ap but effective fix and simply names all downloaded GPX layers "Downloaded GPX data" and thereby enables users to set a default style using common means without making the options dialog overly complicated.

This has the disadvantage though of downloaded GPX layers being named the same. At least for this was never an issue, I didn't get much from the coordinates and found out which I wanted by showing/hiding them.

comment:5 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Applied in r1396.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.