# S2 Geometry

Canonical: https://gisforweb.com/tools/s2geometry/

Google's spherical geometry library with hierarchical cell indexing.

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.

## Details

- Type: library

- Categories: analysis

- Open source: Yes

- Pricing model: open-source

- License: Apache-2.0

## Project sources

- Website: https://s2geometry.io

- Repository: https://github.com/google/s2geometry

Directory descriptions are summaries. Verify current capabilities and terms with the project sources.
