|
throw new IllegalArgumentException("The inner ring doesn't appear to be within the exterior: " |
Why does this check in unwrapDateline() require the exterior ring of a polygon to contains() any interior rings? Doesn't contains() on two LineStrings require one to be a subset of the other? If so, you wouldn't be able to have polygons that contain holes and cross the dateline, which is the problem I'm running into.
spatial4j/src/main/java/org/locationtech/spatial4j/shape/jts/JtsGeometry.java
Line 492 in 2926812
Why does this check in
unwrapDateline()require the exterior ring of a polygon tocontains()any interior rings? Doesn'tcontains()on twoLineStrings require one to be a subset of the other? If so, you wouldn't be able to have polygons that contain holes and cross the dateline, which is the problem I'm running into.