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

How to move nested child relations up parent way? JOSM?

0

Hi I've some nested child relations I wish to move up one level, preferably in one go, so they're directly under the parent way.

Current: way -> relation -> 11 nested relations

Desired outcome:

way -> relation + 11 nested relations

Is there a way to copy/paste them up one layer (in JOSM?). The only way I found is to recreate them one at a time, but this is far too laborious as there are multiple items to deal with.

asked 25 Jun '22, 17:33

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

edited 25 Jun '22, 18:36

1

This feels a bit like a job for Level0 to me, but I'm not going to speculate on how to get it to do it as it also sounds like I'd probably break something.

(26 Jun '22, 11:08) InsertUser

Source code available on GitHub .