by knowitnone on 5/13/2025, 4:02:37 PM
by carderne on 5/13/2025, 1:11:57 PM
Can you give some examples of when this might be better to use than H3?
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/2025, 3:36:02 PM
What's the advantage of this over HEALPix projection? https://en.wikipedia.org/wiki/HEALPix
by Tabular-Iceberg on 5/13/2025, 2:39:57 PM
I once made a DGG without knowing that it was called a DGG so I could look up how to actually do it in the literature.
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/2025, 2:53:58 PM
So if I've understood correctly:
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/2025, 10:48:08 PM
The description of the algorithm notes that each irregular pentagon is divided into four sub-pentagons. Eyeballing the maps, I don't see any group of 4 pentagons forming a similar larger pentagon.
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/2025, 3:31:12 PM
For a visual explanation of how the system works, as well as interactive examples, check out the project website at https://a5geo.org/examples/
by jll29 on 5/13/2025, 1:39:59 PM
A5 uses pentagons, Uber's H3 uses hexagons:
H3: Uber’s Hexagonal Hierarchical Spatial Index https://www.uber.com/en-DE/blog/h3/
by ralusek on 5/13/2025, 4:52:53 PM
> The benefit of choosing a dodecahedron is that it is the platonic solid with the lowest vertex curvature, and by this measure it is the most spherical of all the platonic solids. This is key for minimizing cell distortion as the process of projecting a platonic solid onto a sphere involves warping the cell geometry to force the vertex curvature to approach zero. Thus, the lower the original vertex curvature, the less distortion will be introduced by the projection.
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/2025, 3:35:23 PM
H3 and S2 are supported out of the box in ClickHouse and have reference libraries in C and C++. But it looks like A5 only has a reference implementation in TypeScript. Porting would not be a problem, though...
by Bedon292 on 5/13/2025, 7:44:22 PM
Is it primarily useful just for data visualization? Would there be an potential performance benefits for something like searching a database for nearby data?
Please please please include a description in your title. Just a couple of words will do.