Subham-KRLX opened a new pull request, #2483: URL: https://github.com/apache/sedona/pull/2483
Implements `convex_hull` property for GeoSeries. Closes #2482 - [x] Yes, I have read the [Contributor Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest/community/develop/) - [x] Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #2482 Added `convex_hull` property to GeoSeries that returns the smallest convex polygon containing all points in each geometry. **Implementation:** - Uses Sedona's `ST_ConvexHull` function - Modeled after `centroid` implementation - Added property decorator in `geoseries.py` - Added full documentation with examples in `base.py` **Changes:** - `python/sedona/spark/geopandas/geoseries.py` - Added `convex_hull()` method - `python/sedona/spark/geopandas/base.py` - Added documentation and delegation - `python/tests/geopandas/test_geoseries.py` - Added test with docstring examples - `python/tests/geopandas/test_match_geopandas_series.py` - Added comparison test -- 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]
