Skip to main content
Cover Geometry with H3 Cells and return a List of Long type cell IDs SQL reference: ST_H3CellIDs

Signature

Parameters

ColumnOrName
required
Geometry column to generate cell IDs
Union[ColumnOrName, int]
required
value between 1 and 15, 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.
Union[ColumnOrName, bool]
required
ColumnOrName

Returns

List[long]
List of cellIDs