Opened 11 years ago

Last modified 11 years ago

#8407 new enhancement

Add checkbox to 'merge selected' dialog box to remove merged objects from source layer

Reported by: AndrewBuck Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: merge selected Cc:


I have been using JOSM to selectively merge in lots of town names from the GNS database in Mali. Since I want to manually review each one I keep the source data as a separate layer and then do 'merge selected' on one (or a few) nodes at a time to merge them into the OSM layer that I subsequently upload. Currently everytime I do a merge of some objects I also then have to hit delete to remove these objects from the original source layer otherwise they end up in both layers (I want them removed from the source layer so I can track which ones have been merged in already).

In order to make this a lot quicker and less prone to error, it would be nice to have a checkbox in the 'merge selected' dialog that pops up asking if you want to also remove the merged objects from the source layer (leaving the box unchecked would retain the current behavior). The merged objects (if the box is checked) should just be 'purged' from the source layer, i.e. they should not be marked marked for deletion, just removed from the layer. For the text for the checkbox I would suggest something like "Purge objects from source layer" or "Remove objects from source layer" so that is clear to the user that they will not be deleted, just removed from the original layer.

Finally, the checkbox should remember whether it is checked or not (I would default to unchecked until the user checks it and remember the state from then on). Having to check the box each time would be no easier than hitting delete after the merge, which is the current use scenario.

Attachments (0)

Change History (1)

comment:1 by Don-vip, 11 years ago

Nice idea, I often do the same when integrating open data.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to AndrewBuck.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

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