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
GEOSGeom_setPrecision flattens multi-geometries #662
Comments
@dr-jts thoughts? |
Reported in https://trac.osgeo.org/postgis/ticket/5208 |
pramsey
added a commit
to pramsey/geos
that referenced
this issue
Mar 9, 2023
… geometry. References libgeosGH-662.
It seems reasonable to preserve the collection type of the input. |
pramsey
added a commit
that referenced
this issue
Mar 10, 2023
… geometry. A single-element MultiPolygon will no longer be output as a Polygon. It is still possible that a Polygon will be reduced to a MultiPolygon, if the reduction causes the shape to split into parts. References GH-662. Also relevant to https://trac.osgeo.org/postgis/ticket/5208
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So no-op precision reductions end up having a spurious type change as well:
The text was updated successfully, but these errors were encountered: