GridDistance
This section contains reference documentation for the h3_gridDistance function.
Computes the H3 grid distance between two H3 indexes.
Signature
h3_gridDistance(h3Index1, h3Index2)
Usage Examples
SELECT h3_gridDistance(0x8928308280fffff, 0x8928308283fffff) AS distance
FROM ignoreMe;
distance
2
Last updated
Was this helpful?