You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-12-09 06:52:45

PraxisNFP
Member
Registered: 2015-12-09
Posts: 6

Delete nodes with the same tag in bulk

Hello.

I am preparing "offline" map of my city using josm.
I see some 2000 nodes having tag "power=tower" & the way associated (A HT 440KV power line with tower locations).
I don't wish to include this data in my city map.
Removing a way is straight forward. But is there any method to remove those 2000 nodes in bulk at a time?

Kindly note: I am NOT going to upload this modified data (removed nodes & power line) back to OSM and thus preserving valuable work done by the contributor.

Thank you.

Offline

#2 2015-12-09 13:24:05

Klumbumbus
Member
From: Erzgebirgskreis
Registered: 2014-01-12
Posts: 630
Website

Re: Delete nodes with the same tag in bulk

You could either:

- install UtilsPlugin2 (https://josm.openstreetmap.de/wiki/Help … ilsPlugin2) in JOSM -> select the power line way -> Menu Selection -> Select way nodes -> press delete

or

- use the search funtion in JOSM (https://josm.openstreetmap.de/wiki/Help/Action/Search) and search for:  "type:node power=tower" and press delete


In both cases before pressing delete, you can check the tags in the tags/membership dialog (https://josm.openstreetmap.de/wiki/Help … Membership) to check if you did really only select power tower nodes.

Offline

#3 2015-12-09 13:37:06

PraxisNFP
Member
Registered: 2015-12-09
Posts: 6

Re: Delete nodes with the same tag in bulk

Thank you Klumbumbus.

UtilsPlugin2 worked for me and it also comes with much more functionality.
Great.

Regards.

Offline

#4 2015-12-09 15:51:02

n76
Member
Registered: 2013-05-22
Posts: 313

Re: Delete nodes with the same tag in bulk

You could also simply not render the data you don't want shown on your map. That would make updates easier if you wish it issue a new version later with what ever changes/additions show up in the OSM data.

Offline

Board footer

Powered by FluxBB