Is A5 the New H3 for Spatial Analysis?

· Medium ·

2 min read Original article ↗

⬠ Equal-area pentagons meet hexagons on real Bangkok and Thailand data. Here’s where each wins ⬡

Joe T. Santhanavanich

Press enter or click to view image in full size

Illustration AI-generated by Author

I have a small confession. For years, I measured Bangkok with a set of measuring cups that were not all the same size. 😅

That’s what a hexagon grid like H3 quietly is: a kitchen drawer full of cups. You scoop points into cells, count them, and compare the counts. It works beautifully, until you notice that the “same” cup holds about 0.125 km² in Bangkok and only 0.081 km² in Helsinki.

Hello everyone! In my previous articles, I pulled Overture Maps data out of S3 with DuckDB. This time I look at the step right after that, the one almost every spatial analysis does: putting points into grid cells. For the last few years, the default answer has been H3, Uber’s hexagon grid. On October 14, 2026, a new answer went stable: A5 v1.0, a grid of pentagons where every cell at a resolution has exactly the same area.

So, is A5 the new H3? I didn’t want to answer from a press release. With my AI assistant, I ran six small experiments on a small 8-vCPU Linux cloud machine:

  • Cell sizes: the same cell level in six cities, and every cell on the planet at one coarse level.
  • Density: 391,831 Overture places in…