Oxford Progamme for Sustainable Infrastructure Systems (OPSIS)
Geospatial indexes: discrete global grid systems consisting of a multi-precision tiling of the sphere (plane) with hierarchical indexes.
This presentation will cover the main spatial indexes that are out there. Usage of one of them could potentially increase efficiency of workflows, especially when working with multiple layers of large (global) data sets from different sources and at various resolutions. Standardizing the data layers other a single index can have a positive impact when sharing data sets included in the various packages. Spatial data is a lot faster to query and analyse when properly indexed, potentially allowing for great performance gains on the server and client sides of APIs.
While data base systems rely usually on a set of slightly different indexing techniques that adapt to the data provided, such as B-Trees, R-Trees and their many derivatives, there has been a strong significant development of tools that are more adapted for a general purpose data science workflow, providing a predefined (in-memory) subdivision system that can serve as a basis from which any other spatial data set can be expressed. On top of allowing very efficient querying and analysis, it also constitutes a form of representation of the data. This document reviews some of the most famous and widely adopted ones.
Formalised in Szalay et al. (n.d.)

Developed by Gustavo Niemeyer, 2008
de facto standard on many systems (postGIS)
open-source
OpenStreetMap shortlink predecessor
space-filling Morton curve along which indexation happens

Developed by Google
original library in C++/Java
open source
bindings to many other languages/systems
each cell is a quadrilateral bounded by four geodesics, see Figure 1
levels from 0 to 30
cells are ordered sequentially along a space filling curve, see Figure 2
edge indexation (useful to model flows for example), nearest neighbours
node indexation
the nature of the projection imposes that a constant number of 12 pentagons is present in the index at each level.
interactive visualisation
more online materials
Mainly legacy ones
Find all the locations of amenities along roads in a part of Tanzania.
We pick a convenient grid resolution, for example level py h3_level=8.
To get the data, follow the process explained in this doc, for example.
Getting the h3 index of all the road nodes:
Computing cells along shortest paths between nodes (approximating all the edges)
We can now pass this to a deck.gl map with the pydeck package.