-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Union on 3 Polygons results in a MultiPolygon with 1 Polygon #1052
Comments
Here's a GEOS repro:
|
Not technically a bug, but it would be nice to reduce output to "lowest terms" in general. |
Erm, maybe? Or maybe "match inputs" as an underlying expectatio? (maybe? I'm not wedded to this) should maybe unary union on multipolygon to return multipolygon? |
The usual approach in JTS/GEOS is for output to be as simple as possible. My vote is to continue with that policy, unless there's a good reason otherwise. |
Originally reported in this shapely issue: shapely/shapely#2001
Not a very problematic problem, but a bit weird: the
unary_union
of 3 Polygons results in a MultiPolygon with just one Polygon in it, so you would expect the result to be returned as a normal Polygon.Script to reproduce:
The text was updated successfully, but these errors were encountered: