Opened 6 years ago

Last modified 4 years ago

#18295 reopened enhancement

Splitting large multipolygons — at Version 5

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Plugin utilsplugin2 Version:
Keywords: multipolygon split Cc: pangoSE, Woazboat

Description (last modified by Don-vip)

I have tasked myself with splitting this beast into many multipolygons. The main reason is lower complexity and fewer members.

Is it possible to do this easily in JOSM?

I see that there is a plugin named RelationDisolve but no plugin for splitting relations.
---
Wish list:

  • Best: ability to automatically split into x relations (JOSM determines where to split them and generates the ways needed without crossing any inners)
  • Second best: Ability to split along selected way(s) and delete inners from the former relation and add them to the newly created relation.

Change History (6)

comment:1 by GerdP, 6 years ago

I don't know if it helps here but there is the plugin reltoolbox which seems to support splitting multipolygons.

comment:2 by pangoSE, 6 years ago

This ticket was made by me for the record.

@GerdP How? I use it since a few days and I have not found a way to split. It can duplicate and "reconstruct". Dunno what the last of those does.

Last edited 6 years ago by pangoSE (previous) (diff)

by GerdP, 6 years ago

Attachment: sample.osm added

comment:3 by GerdP, 6 years ago

I've never used it before, just found a source named SplittingMultipolygons.java
The support seems rather basic. Open the attached sample.osm and select the untagged way. When you click on the "multipolygon" button in the toolbox it splits the old mp and creates a new mp, but it doesn't take care about the inners. Maybe it can do more but I don't see how.

in reply to:  2 comment:4 by Klumbumbus, 6 years ago

Replying to pangoSE:

It can duplicate and "reconstruct". Dunno what the last of those does.

Reconstruct means if you select a multipolygon with no inners it transforms it into a simple single closed way. That even works if the outer consists of several consecutive outer ways.

comment:5 by Don-vip, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.