Interactive publication
Back to the catalogueGeometryCase 04 of 13
Invalid coordinate values
NaN, Infinity, out-of-range (|lat|>90, |lng|>180), or null coordinate components crash or silently corrupt downstream H3 indexing.
Class
Case to account for
Affects
4 conversions
01
Detection
Range/type check every coordinate: is-finite, |lat|<=90, |lng|<=180.
02
Mitigation
01
Validate and reject on ingest rather than let latLngToCell throw mid-batch
02
Log source + row for any rejected coordinate for upstream fixes
03
Affected conversions
PointH3
OPENPolygonH3 (intersects)
OPENLine/corridorH3
OPENPoint+radiusH3
OPEN