Skip to content
0:00 / 0:00

#h3#uber#geospatialindexing

H3: Tiling the Earth with Hexagons

Uber Engineering

24K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by Joseph Gilley, software engineer at Uber
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

53K views8 years ago1 recommendation

Databases and dataComputer scienceData structuresAlgorithmsData engineering and warehouses

Joseph Gilley explains how Uber uses the H3 hexagonal hierarchical spatial index for geospatial data and marketplace optimization.

Uber Engineering’s Joseph Gilley discusses how we leverage hexagons for geospatial indexing to better regulate our marketplace of riders and drivers, as well as introduces H3, our open source geospatial indexing system. Check out H3, here: ubere.ng/2DpsXid

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of why hexagons are superior for geospatial indexing and how Uber's H3 works.

mtrovoon Hacker News • Recommends

On “H3: Uber’s Hexagonal Hierarchical Spatial Index (2018)”

They go into some detail on this talk link to this video . What I get from their explanation is that hexagon is a better shape for map grids because they are the most complex shape that can tesselate (the other two are triangles and squares). As they are more close to a circle, distances within a cell are more stable, also computing the distance from a cell center to its neighbours is stable in hexagons as well. I think the reason hex is not more common is that subdivisions are hard to create compared to triangles or squares. Uber solved this by subdividing in 7 smaller hex and tilting it so they cover the bigger shape with some small overlap. Also a big problem is distortion, I never thought this woul…

notrooton Hacker News • Mentions

On “H3: Uber’s Hexagonal Hierarchical Spatial Index”

…ell but by alternating cw, cww rotations and allowing not quite perfect coverage they get to shard with different resolutions/hex sizes. * Distortion "most important" Basically the use case here is visualizations that maintain basic unit appearance. They even pick the location of their vertices to be over water minimizing land distortions. source: link to this video p.s. as `contravariant` said you can't tessellate a sphere with hexagons so they project onto a icosohedron with pentagons at each of the twelve vertices (positioned over water) link to this video…

poeticLLamaon Hacker News • Mentions

On “H3: For indexing geographies into a hexagonal grid, by Uber”

Key reasons for the choice of hexagons in h3 - hexagons have have low distortion as compared to squares when you attempt tessellation of a spherical shape. You just require 12 pentagons to complete this tessellation. - all six neighboring cells are equidistant from the center of a cell. One of the use case Uber was trying to solve here, was to show which regions had surge pricing - on the uber app for the drivers. With h3 and hexagons you can argue it looks a teensy bit better with smoother gradients link . I am not sure whether Uber uses h3 for other use cases like - finding the closest drivers next to a location. See this presentation from Uber on this: link to this video

u/improbabblein r/ocaml • Mentions

On “ocaml-h3: OCaml bindings to Uber's H3 geospatial indexing system”

- upstream library: https://uber.github.io/h3/ - Uber talk on using H3 to tile the earth with hexagons: link to this video