ST_S2CellIDs
Signature
Parameters
ColumnOrName
required
Geometry column to generate cell IDs
Union[ColumnOrName, int]
required
value between 1 and 31, controls the size of the cells used for coverage. With a bigger level, the cells will be smaller, the coverage will be more accurate, but the result size will be exponentially increasing.
Returns
List[long]
List of cellIDs

