H3_GET_RESOLUTION

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns the resolution of an H3 cell.

Syntax

H3_GET_RESOLUTION( <cell_id> )

Parameters

NameRequiredDescription
cell_idrequiredAn INTEGER that represents the H3 cell ID (index), or a VARCHAR that represents the cell ID in hexadecimal format.

Returns

Returns an INTEGER value between 0 and 15, which represents the resolution of the input H3 cell.