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
ENH: vectorized function to force orientation of polygon rings #1366
Comments
Feel free to file a GEOS issue to request this. Perhaps a function Note that |
Until a more optimized solution is proposed (ufunc, geos, etc...): |
Opened libgeos/geos#779 to track this upstream in GEOS |
Please see new implementation for |
Similar as pygeos/pygeos#71
Shapely has a custom function to force the orientation of a geometry:
shapely.ops.orient
(impl. But, this is currently a pure python function. Because this is not something that is supported by GEOS out of the box, this is also not supported by a vectorized ufunc that were merged from pygeos.It would be good to add a vectorized ufunc version of
orient
.As reference, PostGIS has
ST_ForcePolygonCCW
and related functions.The text was updated successfully, but these errors were encountered: