[josm-dev] Selection, purge and layer operations

Martin Koppenhoefer dieterdreist at gmail.com
Wed Jul 30 13:28:07 UTC 2014


I tried to select a bunch of data with JOSM and isolate it (save to osm
file), but I couldn't find out how. I have tried several possibilities:

1.0 select
1.1 move the selection to a new layer (it did not work, all I managed to do
was "copy" to a new layer, loosing all ID / version information)

2.0 select
2.1 select inverse (replace selection, string: "-selected")
2.2 purge the inverted selection
it also didn't work because I had nodes in my selection which were parts of
ways, and when I purged the ways I could not find a method to avoid purging
the nodes as well.

3. I also searched for something like "save selection" but didn't find it.

Is there a way (or plugin) that can achieve this that I overlooked?

if not I think it would be useful to have these options:

1. move a selection to another layer (i.e. not copying it). This could be a
real move (i.e. purge them from the original layer) or a copy that won't
create new objects but keeps ids and versions. Could also be "new layer
from selection" or something like that.

2. let the user decide whether purging also removes "dependent objects"
(e.g. nodes when you purge the way)

3. offer "save selected objects" in the file menu (or as an option in "save
as") similar to the already present "upload selection"

cheers,
Martin


More information about the josm-dev mailing list