H3_CELL_TO_CHILDREN

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns an array of the INTEGER IDs of the children of an H3 cell for a given resolution.

Syntax

H3_CELL_TO_CHILDREN( <cell_id> , <target_resolution> )

Parameters

NameRequiredDescription
cell_idrequiredAn INTEGER that represents the H3 cell ID (index).
target_resolutionrequiredAn INTEGER between 0 and 15 (inclusive) specifying the H3 resolution that you want to use for the returned H3 cells. Specifying any other INTEGER value results in an error.

Returns

Returns an array of the INTEGER values of the IDs of the children of an H3 cell at the specified target resolution.

See also

Referenced by