ability to create multipolygons #1247

Merged
merged 5 commits into from May 28, 2013

Conversation

Projects
None yet
2 participants
Collaborator

ansis commented Apr 3, 2013

Right now it overloads merge to just take two or more multipolygons and closed ways and try to make them into one multipolygon. It might be useful to have an extend operation for single-selected areas so that a user can just draw the hole instead of drawing an area and multiselecting.

How should this deal with intersecting (not contained) polygons?

  • create the invalid geometry
  • union all intersecting polygons (there would be undefined behavior in some cases)
  • no action

It can extend multipolygons with rings formed by multiple ways, but it can't create new rings with multiple ways. Not going to implement this unless anyone sees a good reason to.

jfirebaugh referenced this pull request May 15, 2013

Closed

Multipolygon editing #994

jfirebaugh merged commit a997dbb into master May 28, 2013

1 check passed

default The Travis build passed
Details

jfirebaugh deleted the create-multipolygon branch May 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment