petern48 commented on code in PR #2405:
URL: https://github.com/apache/sedona/pull/2405#discussion_r2438368431


##########
python/tests/geopandas/test_match_geopandas_series.py:
##########
@@ -381,6 +393,12 @@ def test_explode(self):
 
     def test_to_crs(self):
         for geom in self.geoms:
+            if isinstance(geom[0], Polygon) and geom[0] == Polygon():
+                # SetSRID doesn't set SRID properly on empty polygon
+                # https://github.com/apache/sedona/issues/2403
+                # We replace it with a valid polygon as a workaround to pass 
the test

Review Comment:
   Filed https://github.com/apache/sedona/issues/2403



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