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
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 ?
The text was updated successfully, but these errors were encountered:
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
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 ?The text was updated successfully, but these errors were encountered: