Hexagonal Hierarchical Spatial Index (H3)

Overview

Hexagonal Hierarchical Spatial Index (H3) is a geospatial indexing system developed by Uber that uses hexagonal grids to partition the Earth’s surface for efficient spatial analysis and data representation. H3 provides a hierarchical system of increasingly fine hexagonal cells, enabling multi-resolution spatial analysis.

Key Concepts

Hexagonal grid is chosen because hexagons have uniform adjacency (6 neighbors) and approximate circles well. Resolution refers to the 16 levels (0-15) of increasingly smaller hexagons. Cell index is a 64-bit integer uniquely identifying each hexagon. Hierarchy allows each hexagon to contain approximately 7 child hexagons at the next resolution. Edge and vertex modes provide indexing for hexagon boundaries and corners.

Resolution Levels

ResolutionAvg. AreaEdge LengthUse Case
04.3M km²1,108 kmContinental
41,770 km²22 kmRegional
75.2 km²1.2 kmCity district
9105,332 m²174 mNeighborhood
12307 m²9.4 mBuilding
150.9 m²0.5 mSub-meter

Advantages

  • Uniform distance to neighbors (unlike square grids)
  • Efficient spatial joins and aggregation
  • Consistent global coverage
  • Fast point-to-cell and cell-to-point operations

Appendix

Created: 2025-12-13 | Modified: 2025-12-13

See Also