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 following geojson has 2 polygons that by visual inspection do not intersect but booleanIntersects reports otherwise. The same geojson with turf.js seems to work correctly https://www.jdoodle.com/ia/1Cl2.
But then I got curious and took a look at how the dart and js implementations differ and I was able to find a key difference in omition of self-intersection check. And after taking a closer look at my data, it seems that the "sudan" border definitions does self-intersect at some points.
The following geojson has 2 polygons that by visual inspection do not intersect but
booleanIntersects
reports otherwise. The same geojson with turf.js seems to work correctly https://www.jdoodle.com/ia/1Cl2.I'm using
turf 0.0.10
.The text was updated successfully, but these errors were encountered: