168

Incorrect ring winding order

geometry

GeoJSON requires exterior rings counter-clockwise and holes clockwise (right-hand rule); reversed winding flips interior/exterior for winding-sensitive fillers.

Detection

Compute signed area (shoelace formula); sign mismatch against RFC 7946 convention for the ring role.

Mitigation

Affected conversions