petern48 opened a new issue, #2417:
URL: https://github.com/apache/sedona/issues/2417
```sql
select st_crosses(st_geomfromtext('linestring (1 1, 1 2)'),
st_geomfromtext('geometrycollection (point (1 1))'));
Caused by: java.lang.IllegalArgumentException: Operation does not support
GeometryCollection arguments
at
org.locationtech.jts.geom.Geometry.checkNotGeometryCollection(Geometry.java:1735)
at
org.locationtech.jts.geom.GeometryRelate.relate(GeometryRelate.java:203)
at org.locationtech.jts.geom.Geometry.relate(Geometry.java:1006)
at org.locationtech.jts.geom.Geometry.crosses(Geometry.java:803)
at org.apache.sedona.common.Predicates.crosses(Predicates.java:47)
at
org.apache.spark.sql.sedona_sql.expressions.ST_Crosses.evalGeom(Predicates.scala:176)
at
org.apache.spark.sql.sedona_sql.expressions.ST_Predicate.eval(Predicates.scala:61)
```
Once this is fixed, we should remove [this
workaround](https://github.com/apache/sedona/blob/9ea7c23633cf97b30a662465aa061feecfdaa79c/python/sedona/spark/geopandas/geoseries.py#L1221-L1230)
in geopandas.
--
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]