Polygon fill the whole Earth
jerome-lemaire opened this issue · comments
Jérôme Lemaire commented
I have an issue with some polygons in my geojson :
My polygon fill the whole Earth. I dont know why.
Working geojson : https://jsfiddle.net/mcr7qode/
Not working geojson : https://jsfiddle.net/q3Lxs8u4/18/
Curran Kelleher commented
Have you double checked that no rings in the geometries are anticlockwise?
This sounds similar to this other issue #227
Jérôme Lemaire commented
Thanks you, indeed my polygon points where anticlockwise.
Solved by using turf.rewind
Curran Kelleher commented
Nice!