S2 cell tools
Encode and decode S2 indexes, explore cells on a map, cover shapes and convert spatial data.
What is S2?
S2 divides the Earth into a hierarchy of quadrilateral cells, using six cube faces projected onto a sphere.
Developed at Google, S2 uses 64-bit cell identifiers and 31 levels, from 0 to 30. Hexadecimal tokens identify cells for spatial indexing, region coverings, neighbor queries and data aggregation.
Read about S2