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

   Part of #2230.
   
   Implement distributed `GeoDataFrame.sjoin_nearest(...)` and top-level 
`geopandas.sjoin_nearest(...)`.
   
   Requirements:
   
   - Execute through Sedona's distributed K-nearest-neighbor join planning; do 
not collect geometry rows to the driver, use a Cartesian fallback, or use 
Python row UDFs.
   - Support `inner`, `left`, and `right` joins with GeoPandas-compatible index 
and suffix behavior.
   - Return every equidistant nearest match where GeoPandas returns ties.
   - Support `max_distance`, `distance_col`, and `exclusive`.
   - Validate CRS compatibility and preserve the active geometry and CRS for 
each join mode.
   - Match GeoPandas behavior for empty and null geometries, empty inputs, 
duplicate and multi-level indexes, overlapping column names, self-joins, and 
deterministic result ordering where required.
   
   Add focused tests for the optimized Spark plan as well as direct and 
GeoPandas parity tests covering join modes, ties, distance limits and output, 
exclusivity, metadata, index shapes, empty/null inputs, and invalid arguments. 
Add public API documentation for both 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