Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unwrapDateline on a polygon with a hole #220

Open
jrnorth opened this issue May 20, 2022 · 0 comments
Open

unwrapDateline on a polygon with a hole #220

jrnorth opened this issue May 20, 2022 · 0 comments

Comments

@jrnorth
Copy link

jrnorth commented May 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant