168

Duplicate vertices

geometry

Consecutive repeated coordinates (zero-length segments) in a ring can produce degenerate edges that break area and intersection calculations.

Detection

Scan ring coordinates for consecutive points with distance approximately 0.

Mitigation

Affected conversions