jiayuasu opened a new issue, #3169: URL: https://github.com/apache/sedona/issues/3169
Part of #2230. ## Summary Implement the GeoPandas-compatible `GeoSeries.orient_polygons` method and GeoDataFrame delegation using Sedona's native polygon-orientation expressions. The implementation must remain fully distributed. It must not call `to_geopandas()`, `collect()`, `toLocalIterator()`, or a Python row UDF. ## Requirements - Orient polygon exteriors counter-clockwise and interior rings clockwise by default. - Support `exterior_cw=True` for the opposite orientation. - Recursively orient polygonal members inside GeometryCollections. - Leave non-polygonal geometries unchanged. - Preserve nulls, empties, indexes, CRS, and Spark-level SRIDs. - Support access through both GeoSeries and GeoDataFrame. - Add API documentation and examples. ## Tests - Add direct tests covering polygons with holes, multipolygons, nested GeometryCollections, non-polygon geometries, empties, nulls, index preservation, CRS/SRID preservation, and GeoDataFrame delegation. - Add version-gated GeoPandas parity tests where `orient_polygons` is available. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
