I've been using @turf/kinks v6.5.0 to find whether the polygon has some self-intersecting lines inside.
The geometry that on v6.5.0 returned 3 points as a result of the kinks(geometry) call, in v7.0.0 returns no points.
Here is a gist with the GeoJSON(s): https://gist.github.com/arkus7/bbd0bad3a4d81eb6edc5d24f43ad9f7c
Example on JSFiddle using v7.0.0 https://jsfiddle.net/abefhm5o/1/
This shows that the newest version doesn't report the kinks the same as v6.5.0: https://jsfiddle.net/o1L8sd4u/
I've been using
@turf/kinksv6.5.0 to find whether the polygon has some self-intersecting lines inside.The geometry that on v6.5.0 returned 3 points as a result of the
kinks(geometry)call, in v7.0.0 returns no points.Here is a gist with the GeoJSON(s): https://gist.github.com/arkus7/bbd0bad3a4d81eb6edc5d24f43ad9f7c
Example on JSFiddle using v7.0.0 https://jsfiddle.net/abefhm5o/1/
This shows that the newest version doesn't report the kinks the same as v6.5.0: https://jsfiddle.net/o1L8sd4u/