TURF booleanwithin is not working as expected

Viewed 71
1 Answers

The problem is that, currently, booleanWithin only handles a very limited case of testing convex polygons. That's because it only checks if the vertices of the 1st polygon are within the 2nd polygon.

This might not be get fixed before v7.

For now you might consider to use de9im library.

It's from turf's issue page.

Related