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

BooleanWithin does not work correctly with (Island polygon / Doughnut). #2595

Open
armanthegreat opened this issue Apr 5, 2024 · 0 comments

Comments

@armanthegreat
Copy link

Please provide the following when reporting an issue:

  • Version of Turf 6.5

  • Italy geoJson file
    San Marino geoJson file

  • I am trying to use Turf's booleanWithin method to comapre two features in my dataset. When it comes to doing the check with polygons that have a hole in them, also know as Island polygon/ Doughnut, the method returns wrong results. The example used was a (Polygon,Multipolygon) => booleanWithin(San Marino, Italy) . Expecting this to return false but getting true.

Do Turf's boolean functions support Island polygons ?

@armanthegreat armanthegreat changed the title booleanWithin does not work correctly with (Island polygon / Doughnut). BooleanWithin does not work correctly with (Island polygon / Doughnut). Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants