by pheelicks on 5/13/25, 10:02 AM with 29 comments
by knowitnone on 5/13/25, 4:02 PM
by carderne on 5/13/25, 1:11 PM
The ones that seem obvious:
- You need very high resolution. H3 is also 64 bit I think, but it seems like A5 highest resolution is about 4 orders of magnitude higher.
- Equal cell size: are the cells exactly equal in size (in m2)? H3 they vary by up to ~2x.
What are the downsides? The shapes are irregular, distances between centroids are not uniform...
by xioxox on 5/13/25, 3:36 PM
by Tabular-Iceberg on 5/13/25, 2:39 PM
I ended up making it an icosahedron and recursively subdividing each face into four new ones by inscribing a new triangle. The project went nowhere for different reasons, so I never figured out if it would have worked, and given this isn’t one of the examples I suspect it wouldn’t have.
by yencabulator on 5/13/25, 2:53 PM
Google's S2 is all about performance and prefix-matching.
Uber's H3 makes the math a bit more complex to prioritize less variation in centerpoint-to-centerpoint distances (because they care most about driving times).
This makes the math even more complex to prioritize less variation in area covered by far away tiles (most applicable to e.g. analyzing density of something).
by i3oi3 on 5/14/25, 10:48 PM
I noticed that you had an analog to the H3 landing page on your landing page, allowing zooming in. If you could also steal the next-higher / next-smaller overlay like they did on the H3 landing page, it would make it clearer the relationship between the larger and smaller pentagons.
I've used H3 extensively, and one of the things that always bugged me about it was that each large hexagon was _mostly_ covered by a group of the next smaller ones, but because geometry, the edges have some overlap with the neighbor large hexagons. So I can't just truncate an integer mapping, for example, to get the ID of the next-largest.
by pheelicks on 5/13/25, 3:31 PM
by jll29 on 5/13/25, 1:39 PM
H3: Uber’s Hexagonal Hierarchical Spatial Index https://www.uber.com/en-DE/blog/h3/
by ralusek on 5/13/25, 4:52 PM
This feels like an uncommon need to optimize for. Can't think of a reason I would reach for this over S2 or H3
by zX41ZdbW on 5/13/25, 3:35 PM
by Bedon292 on 5/13/25, 7:44 PM