turf
turf copied to clipboard
@turf/boolean-contains incorrectly returns true for the geometry that is not fully contained in another.
6.5.0 http://geojson.io/#map=18/37.77964/-122.46524 https://jsfiddle.net/w7r8kbL4/
@turf/boolean-contains incorrectly returns true for the geometry that is not fully contained in another. Neither one of Polygons contain holes, so I believe it is a different problem than those that were reported previously.

As you can see from the screenshot, while vertices of rectangle are indeed fully contained, one of its parts still falls outside of bigger weirdly shaped polygon. Yet @turf/boolean-contains reports it as fully contained.