Module s2

Source

Structsยง

S2CellLevel
Return the level of current s2 cell
S2CellParent
Return parent at given level of current s2 cell
S2CellToToken
Return the string presentation of the cell
S2LatLngToCell
Function that returns s2 encoding cellid for a given geospatial coordinate.

Staticsยง

CELL_TYPES ๐Ÿ”’
COORDINATE_TYPES ๐Ÿ”’
LEVEL_TYPES ๐Ÿ”’

Functionsยง

cell_from_value ๐Ÿ”’
signature_of_cell ๐Ÿ”’
signature_of_cell_and_level ๐Ÿ”’
value_to_level ๐Ÿ”’