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

   Part of #2230.
   
   ## Summary
   
   Implement the GeoPandas-compatible 
`GeoSeries.constrained_delaunay_triangles` method and GeoDataFrame delegation 
by using Sedona's existing `ST_TriangulatePolygon` expression.
   
   The implementation must remain fully distributed. It must not call 
`to_geopandas()`, `collect()`, `toLocalIterator()`, or a Python row UDF.
   
   ## Requirements
   
   - Return a GeometryCollection of constrained Delaunay triangles for each 
polygonal input.
   - Match GeoPandas for Polygon and MultiPolygon geometries, including 
polygons with holes.
   - Match GeoPandas behavior for non-polygonal, empty, and null geometries.
   - 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 polygons, multipolygons, holes, non-polygonal 
geometries, empty geometries, nulls, index preservation, CRS/SRID preservation, 
and GeoDataFrame delegation.
   - Add version-gated GeoPandas parity tests for environments where 
`constrained_delaunay_triangles` 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