A Closer Look at Hex Tiles: How it’s Changing Geospatial Analysis | Foursquare

A Closer Look at Hex Tiles: How it’s Changing Geospatial Analysis

September 26, 2022 by Foursquare

Foursquare’s Senior Director of Engineering Shan He was recently featured on the Mapscaping Podcast to discuss all things Hex Tiles. Let’s recap what she had to say about this unique technology and how it’s improving the geospatial analysis and visualization process.

Geospatial analysis can be challenging and time-consuming – from preparing data of different shapes, forms, sizes, to processing complex datasets at scale. As the leading location technology platform, Foursquare is in the business of deeply understanding movement and places. Our tech stack helps businesses use location to make more informed decisions and ultimately drive success. An excellent example of this is Hex Tiles, a next-generation tiling system on Foursquare’s Unfolded platform that offers significant advantages for performing large-scale geospatial data visualization and analytics.

We tile data because the world is messy. The existence of maps abstracts the world’s convolution into simpler forms like points (latitude and longitude), lines (roads and routes), and polygons – to an extent. Geographic grid systems, also known as discrete global grids, apply a different abstraction. Discrete global grids divide the world into uniform cells, moving all geographic data into a common unit of analysis that is unbiased by natural and human processes. It also supports new types of algorithms that are hard to implement with traditional geographic data.

There are numerous advantages to using grid systems, including:

The H3 system which Hex Tiles utilizes is open source and backed by a large user community. It consists of a built-in C, which is extremely fast and portable, along with bindings available in many languages such as Python, Java and JavaScript. There are also extensions and UDFs for databases including PostgreSQL and BigQuery.

The core functions of the H3 system are:

If it wasn’t obvious from the name, Hex Tiles also use hexagons since they are particularly apt at producing grid cells.

This is due to a number of features unique to hexagons, such as:

With the aforementioned major system and features of H3 and hexagons, we created Hex Tiles to process and analyze larger volumes of geospatial data than previously possible. Prior to Hex Tiles, joining geospatial datasets of different sources was extremely difficult. Now, however, users can easily join datasets of varying formats and precisions together to derive meaningful insights.

In fact, here are some of the key advantages of using Hex Tiles:

Hex Tiles solves the biggest and most time-consuming challenges in geospatial analysis, but using it with the right data is extremely important.

It is specifically created for spatial and temporal data, with the intention of:

The future of geospatial data is continuously evolving. Therefore, it’s important to consider that geospatial data analysis may involve volume metric hex tiles and additional functions in the front end. However, Foursquare continues to evolve as well. We are excited that our customers are able to leverage Hex Tiles across their organizations, especially as we look to supply Unfolded analytics and visualization capabilities across our other products, such as Visits, Places and Audiences.

Listen to Shan’s full episode here and contact us to learn more about leveraging our location data technology.