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

   ## Summary
   
   GeoPandas 1.1 added `GeoSeries.geom_equals_identical` and the corresponding 
GeoDataFrame active-geometry method. Unlike topological or tolerance-based 
equality, it requires identical geometry type, nested structure, component and 
coordinate order, dimensionality, and coordinate values across XY, Z, and M 
ordinates. Sedona does not currently provide this API or a native SQL predicate 
with matching semantics.
   
   ## Proposed changes
   
   - Add a native `ST_EqualsIdentical` predicate with exact structure, 
ordering, dimensionality, and ordinate comparison.
   - Treat colocated NaN ordinates as equal, compare Z and M, and ignore SRID 
metadata.
   - Expose the predicate through Spark SQL and DataFrame APIs, Spark Connect, 
Flink, Snowflake `GEOMETRY`, and the Python SQL API.
   - Implement distributed `GeoSeries.geom_equals_identical(other, align=None)` 
and GeoDataFrame delegation.
   - Preserve GeoPandas index alignment, duplicate and MultiIndex behavior, 
null-to-false results, CRS warnings, and output naming.
   - Preserve M and ZM values through the native Python GeometryUDT serializer 
while retaining compatibility with older supported GEOS releases.
   - Add cross-engine, GeoPandas-parity, serializer, edge-case, and native-plan 
tests plus SQL documentation.
   
   The implementation should remain fully distributed and must not introduce 
Python UDF execution or collect geometry rows on the driver.
   
   Part of #2230.
   


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