chay0112 commented on PR #2529:
URL: https://github.com/apache/sedona/pull/2529#issuecomment-3582578833

   Hi @petern48 
   
   I'm encountering a test failure in our Sedona/GeoPandas parity suite for 
concave_hull(Passing in my local). The error is due to the vertex order of 
polygons returned by Sedona and GeoPandas being different, even though the 
polygons are geometrically identical. Our current comparison uses equals_exact, 
which might be sensitive to vertex order:
   
   `=========================== short test summary info 
============================
   FAILED 
tests/geopandas/test_match_geopandas_series.py::TestMatchGeopandasSeries::test_concave_hull
 - ValueError: Geometry equality check failed for POLYGON ((1 4, 3 4, 4 4, 3 1, 
4 0, 0 0, 1 1, 0 4, 1 4)) and POLYGON ((1 4, 3 4, 4 4, 4 0, 3 1, 0 0, 1 1, 0 4, 
1 4))`
   
   
[https://github.com/apache/sedona/actions/runs/19687051539/job/56394868966?pr=2529](url)
   
   Would it be acceptable to change our comparison from equals_exact to equals 
for polygons, so that we check geometric equality rather than strict vertex 
order? Or is there a recommended workaround for this situation, or something I 
might be missing in our test setup?
   
   Thank you for your guidance!


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