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
According to the GeoJSON spec (RFC 7946), outer rings of polygons MUST follow the right-hand rule, i.e., be counter-clockwise, whereas the output I see creates polygons with rings that use clockwise winding.
The text was updated successfully, but these errors were encountered:
Probably we should support an option that allows the clockwise and containment test to be overridden, or perhaps alternatively, we could enumerate different conventions (e.g., planar-cw, planar-ccw, spherical-cw).
mbostock
changed the title
Polygon winding incorrect
Support other winding conventions (cw, ccw, spherical, etc.)
Feb 8, 2022
According to the GeoJSON spec (RFC 7946), outer rings of polygons MUST follow the right-hand rule, i.e., be counter-clockwise, whereas the output I see creates polygons with rings that use clockwise winding.
The text was updated successfully, but these errors were encountered: