This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Remove entire bus route at once

1

Hi everyone,

There are several bus routes withdrawn in my town.
But these are still shown on OpenStreetMap.

Is there a way to remove an entire bus route, without first deleting all members one by one?
Thank you in advance!

Sincerly,
Rico

asked 04 Jan '18, 13:41

PlantedRabbit's gravatar image

PlantedRabbit
26112
accept rate: 0%


One Answer:

1

I'm assuming you want to delete all the route relations that belong to a single route master relation ? Deleting the highway=* ways that are members of the route relation is not a good idea.

With JOSM, you can do the former by selecting any highway that is part of the route, then right-click on the route master relation in the tag/membership panel and choose select members, and finally press delete. You can then delete the route master relation itself. Not sure how to do this with other editors.

That said, I would probably not bulk-delete things like this: route relations can be a bit complex and I'd prefer to check relations individually before deleting each one. Route master relations don't usually have too many members.

answered 04 Jan '18, 15:03

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

Source code available on GitHub .