Interactive publication
Back to the catalogueGeometryCase 01 of 13
Duplicate vertices
Consecutive repeated coordinates (zero-length segments) in a ring can produce degenerate edges that break area and intersection calculations.
Class
Case to account for
Affects
3 conversions
01
Detection
Scan ring coordinates for consecutive points with distance approximately 0.
02
Mitigation
01
Dedupe consecutive identical coordinates before processing
02
Run through a geometry-repair pass (e.g. GEOS makeValid) prior to filling
03
Affected conversions
PolygonH3 (intersects)
OPENPolygonH3 (coverage threshold)
OPENLine/corridorH3
OPEN