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

Replace a way in several relations

1

There is a way belonging to a dozen relations; I want to replace it with another way. A fast method could be replacing their ID's using a textual editor.

How can I query overpass (way recurse up) to get all relations involved and export data to Level0 to perform textual replace?

asked 16 Feb '21, 10:12

Cascafico's gravatar image

Cascafico
283202329
accept rate: 0%

Tangential question: why do you want to do this? I ask because if it's something like the way being drawn so poorly it's easier to re-draw from scratch then there is a replace geometry plugin in JOSM that would be able to re-use the old id.

(17 Feb '21, 21:14) InsertUser

Source code available on GitHub .