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
The helper method JTSUtils.equalsExact3D(Geometry g1, Geometry g2) fails when comparing MultiPoints, MultiLines or MultiPolygons that only have a single element.
StackTrace:
java.lang.IllegalStateException: Only simple geometries should be used
at org.geolatte.geom.jts.JTSUtils.equals3DPrimitiveGeometries(JTSUtils.java:100)
at org.geolatte.geom.jts.JTSUtils.equalsExact3D(JTSUtils.java:41)
The helper method JTSUtils.equalsExact3D(Geometry g1, Geometry g2) fails when comparing MultiPoints, MultiLines or MultiPolygons that only have a single element.
StackTrace:
java.lang.IllegalStateException: Only simple geometries should be used
at org.geolatte.geom.jts.JTSUtils.equals3DPrimitiveGeometries(JTSUtils.java:100)
at org.geolatte.geom.jts.JTSUtils.equalsExact3D(JTSUtils.java:41)
Extending the comparision in JTSUtils.equalsExact3D(Geometry g1, Geometry g2) would probably be sufficient, like
The text was updated successfully, but these errors were encountered: