A5 Pentagons Are the New Bestagons

A5 Pentagons Are the New Bestagons

Author: MapScaping January 20, 2026 Duration: 37:21
How can you accurately aggregate and compare point-based data from different parts of the world? When analyzing crime rates, population, or environmental factors, how do you divide the entire globe into equal, comparable units for analysis?   For data scientists and geospatial analysts, these are fundamental challenges. The solution lies in a powerful class of tools called Discrete Global Grid Systems (DGGS). These systems provide a consistent framework for partitioning the Earth's surface into a hierarchy of cells, each with a unique identifier. The most well-known systems, Google's S2 and Uber's H3, have become industry standards for everything from database optimization to logistics.   However, these systems come with inherent trade-offs. Now, a new DGGS called A5 has been developed to solve some of the critical limitations of its predecessors, particularly concerning area distortion and analytical accuracy.   Why Gridding the Globe is Harder Than It Looks The core mathematical challenge of any DGGS is simple to state but difficult to solve: it is impossible to perfectly flatten a sphere onto a 2D grid without introducing some form of distortion. Think of trying to apply a perfect chessboard or honeycomb pattern to the surface of a ball; the shapes will inevitably have to stretch or warp to fit together without gaps.   All DGGS work by starting with a simple 3D shape, a polyhedron, and projecting its flat faces onto the Earth's surface. The choice of this initial shape and the specific projection method used are what determine the system's final characteristics. As a simple analogy, consider which object you’d rather be hit on the head with: a smooth ball or a spiky cube? The ball is a better approximation of a sphere. When you "inflate" a spiky polyhedron to the size of the Earth, the regions nearest the sharp vertices get stretched out the most, creating the greatest distortion.   A Quick Look at the Incumbents: S2 and H3   To understand what makes A5 different, it's essential to have some context on the most popular existing systems.   Google's S2: The Cube-Based Grid The S2 system is based on projecting a cube onto the sphere. On each face of this conceptual cube, a grid like a chessboard is applied. This approach is relatively simple but introduces significant distortion at the cube’s vertices, or "spikes." As the grid is projected onto the sphere, the cells near these vertices become stretched into diamond shapes instead of remaining square. S2 is widely used under the hood for optimizing geospatial queries in database systems like Google BigQuery.   Uber's H3: The Hexagonal Standard Uber's H3 system starts with an icosahedron—a 20-sided shape made of triangles. Because an icosahedron is a less "spiky" shape than a cube, H3 suffers from far less angular distortion. Its hexagonal cells look more consistent across the globe, making it popular for visualization. H3's immense success is also due to its excellent and user-friendly ecosystem of tools and libraries, making it easy for developers to adopt. However, H3 has one critical limitation for data analysis: it is not an equal-area system. This was a deliberate trade-off, not a flaw; H3 was built by a ride-sharing company trying to match drivers to riders, a use case where exact equal area doesn't particularly matter. To wrap a sphere in hexagons, you must also include exactly 12 pentagons—just like on a soccer ball. If you look closely at a football, you'll see the pentagonal panels are slightly smaller than the hexagonal ones. This same principle causes H3 cells to vary in size. The largest and smallest hexagons at a given resolution can differ in area by a factor of two, meaning that comparing raw counts in different cells is like comparing distances in miles and kilometers without conversion. For example, cells near Buenos Aires are smaller because of their proximity to one of the system's core pentagons, creating a potential source of error if not prope

The MapScaping Podcast delves into the intricate world where geography meets data. This isn't about static paper maps, but the dynamic, digital systems that help us understand our planet. Each conversation focuses on the practical and the visionary within GIS, geospatial technology, remote sensing, and earth observation. You'll hear directly from the cartographers, data scientists, software developers, and analysts who are building the tools and interpreting the information that defines modern digital geography. The discussions explore how satellite imagery is used, how location intelligence solves complex problems, and where the technology is headed next. For professionals, students, or anyone fascinated by how we chart and comprehend our world, this podcast offers a grounded look at a field that is constantly redrawing its own boundaries. Tune in to The MapScaping Podcast for insights that are as much about the people and ideas shaping this space as they are about the technology itself. It's a consistent source for those who think spatially, providing depth and context that goes beyond the software interface. Listen to find out how the hidden structures of geospatial data influence everything from urban planning and environmental conservation to business logistics and everyday apps.
Author: Language: English Episodes: 100

The MapScaping Podcast - GIS, Geospatial, Remote Sensing, earth observation and digital geography
Podcast Episodes
Using Lasers To Talk To Satellites [not-audio_url] [/not-audio_url]

Duration: 44:51
How do we get data from a satellite down to Earth? How do we task a satellite? Today the answer is likely to be via radios and a system of downlink sites or ground stations. As the satellites pass overhead or within “lin…
From Pixels to Patterns: AI in Spatial Analysis [not-audio_url] [/not-audio_url]

Duration: 1:05:50
There is a general understanding that it is becoming increasingly difficult to extract meaning from all the data we are collecting without using AI. But what is AI, and how did we end up in a situation where it is identi…
pygeoapi - A Python Geospatial Server [not-audio_url] [/not-audio_url]

Duration: 37:03
PYGEOAPI is a Python server implementation of the OGC API suite of standards ... which might be really useful if you are thinking about upgrading from the first-generation OGC standards to the second-generation OGC stand…
Big Data In The Browser [not-audio_url] [/not-audio_url]

Duration: 57:17
So why would anyone want to put alot of data into a browser? Well, for a lot of the same reasons that edge computing and distributed computing have become so popular. You get the data a lot closer to the user and you don…
Rasters In A Database? [not-audio_url] [/not-audio_url]

Duration: 34:21
Sounds like a great idea right? In this episode, Paul Ramsey explains why you shouldn't ... unless you want to ... and how you can ... if you have to. You can find Paul's blog here: http://blog.cleverelephant.ca/about So…
Spatial Knowledge Graphs [not-audio_url] [/not-audio_url]

Duration: 32:04
A knowledge graph is a network of relationships between real work entities and in this episode, you will learn how and why knowledge graphs might be a better choice than spatial joins! Further listening! The H3 Indexing…
ChatGPT and Large Language Models [not-audio_url] [/not-audio_url]

Duration: 50:13
I am sure you have heard of ChatGPT by now so the hope of this episode is to give you some more context about what is it built on and how it works. To do that I invited Daniel Whitneck back on the podcast You can connect…
Computer Vision and GeoAI [not-audio_url] [/not-audio_url]

Duration: 37:58
Computer vision is a field of artificial intelligence (AI) that enables computers and systems to derive meaningful information from digital images. You might think that this is exactly what we are doing in earth observat…
Designing for Location Privacy [not-audio_url] [/not-audio_url]

Duration: 42:18
Data is what data does - more about that later on ;) This episode focuses on designing for privacy, how do we create value from location data without sacrificing personal privacy? Well, you might start by adhering to the…
Hyperspectral vs Multispectral [not-audio_url] [/not-audio_url]

Duration: 38:46
When comparing multispectral and hyperspectral data it is not simply a case of “more data more better”! With hyperspectral you have “The curse of Dimensionality” but you also get more flexibility to pick exactly what ban…