All tools
S2 Geometry
Open Source
Google's spherical geometry library with hierarchical cell indexing.
License
Apache-2.0
About
S2 is Google's library for spherical geometry: it models the earth as a sphere and provides hierarchical cell indexes (S2 cells), fast spatial predicates and region coverings. It powers spatial indexing in Google Maps and several databases, and is the main alternative to H3's hexagonal grid for global cell indexing.