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

Any way to convert outer-way-only multipolygons into single ways?

3

I've came to the conclusion, that my old mapping habit to map large e.g. forests als multipolygon relation with many smaller outer ways is bogus. It would have been much easier for exporting and other tasks to map them as simple, large ways.

Is there any way how I can convert my own multipolygons (only!) semi-automatically into plain ways? It's so tedious to do this by hand so I'm looking for any JOSM or even cli tools solution.

Thanks for any help.

asked 24 Apr '18, 22:39

Druzhba's gravatar image

Druzhba
150111118
accept rate: 0%


One Answer:

2

There's a JOSM plugin called "relation toolbox" (reltoolbox) that lets you do this. You have to select a relation and then you can right-click on the relation in the relation toolbox panel and select "reconstruct multipolygon".

Don't go over board though; in areas where the forest boundary and another boundary coincide for more than a couple of nodes, using relations could still make sense!

answered 25 Apr '18, 10:08

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .