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

   Part of #2230.
   
   ## Summary
   
   Implement the GeoPandas-compatible `GeoSeries.minimum_clearance_line` method 
and GeoDataFrame delegation by using Sedona's existing 
`ST_MinimumClearanceLine` expression.
   
   The implementation must remain fully distributed. It must not call 
`to_geopandas()`, `collect()`, `toLocalIterator()`, or a Python row UDF.
   
   ## Requirements
   
   - Return one minimum-clearance LineString per input geometry.
   - Match GeoPandas behavior for points, lines, polygons, empty geometries, 
and nulls.
   - Preserve the input index, CRS, and geometry SRID.
   - Support calls through both GeoSeries and GeoDataFrame.
   - Add API documentation and examples.
   
   ## Tests
   
   - Add direct tests for representative geometry types, empty geometries, 
nulls, index preservation, CRS/SRID preservation, and GeoDataFrame delegation.
   - Add version-gated GeoPandas parity tests for environments where 
`minimum_clearance_line` is available.
   
   The existing Spark SQL function is sufficient; no JVM, Flink, Snowflake, or 
SQL wrapper changes should be necessary.
   


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