H3_COVERAGE_STRINGS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns an array of hexadecimal IDs (as VARCHAR values) identifying the minimal set of H3 cells that completely cover a shape (specified by a GEOGRAPHY object).

Syntax

H3_COVERAGE_STRINGS( <geography_expression> , <target_resolution> )

Parameters

NameRequiredDescription
geography_expressionrequiredA GEOGRAPHY object.
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 VARCHAR values for the hexadecimal IDs of the minimal set of H3 cells that completely cover the specified input shape.

Usage notes

See also

Referenced by