jiayuasu opened a new issue, #3180:
URL: https://github.com/apache/sedona/issues/3180

   Part of #2230.
   
   Implement the distributed spatial-subsetting APIs:
   
   - `GeoSeries.cx`
   - `GeoDataFrame.cx`
   - `GeoSeries.clip(mask, keep_geom_type=False, sort=False)`
   - `GeoDataFrame.clip(mask, keep_geom_type=False, sort=False)`
   - top-level `geopandas.clip(...)`
   
   Requirements:
   
   - Execute with native Spark and Sedona expressions; do not collect geometry 
rows to the driver and do not use Python row UDFs.
   - Implement coordinate slicing with GeoPandas-compatible numeric and 
open-ended x/y slices, index preservation, and step handling.
   - Support scalar polygonal masks, Sedona GeoSeries/GeoDataFrame masks, and 
four-value rectangular masks.
   - Dissolve distributed masks with a cluster-side geometry aggregation and 
apply clipping without materializing mask rows in Python.
   - Validate CRS compatibility and preserve index, non-geometry columns, 
active geometry, CRS, and SRID.
   - Match GeoPandas row filtering, empty/null handling, `keep_geom_type`, and 
`sort` behavior.
   
   Add focused direct and GeoPandas parity tests covering geometry families, 
scalar and distributed masks, rectangular masks, empty and null geometries, CRS 
mismatches, named and multi-level indexes, GeoDataFrame column preservation, 
`keep_geom_type`, ordering, and invalid inputs. Add public API documentation 
for all entry points.
   


-- 
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]

Reply via email to