You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using JtsShapeFactory.makeShapeFromGeometry on a Geometry that represents an empty Point, an IllegalStateException is thrown:
java.lang.IllegalStateException: getX called on empty Point
at org.locationtech.jts.geom.Point.getX(Point.java:102)
at org.locationtech.spatial4j.shape.jts.JtsShapeFactory.makeShapeFromGeometry(JtsShapeFactory.java:478)
Perhaps it could properly convert an empty JTS Geometry to a corresponding empty Shape.
The text was updated successfully, but these errors were encountered:
When using
JtsShapeFactory.makeShapeFromGeometry
on a Geometry that represents an empty Point, anIllegalStateException
is thrown:Perhaps it could properly convert an empty JTS Geometry to a corresponding empty
Shape
.The text was updated successfully, but these errors were encountered: