snowflake.snowpark.functions.h3_polygon_to_cells_strings¶
- snowflake.snowpark.functions.h3_polygon_to_cells_strings(geography_polygon: Union[snowflake.snowpark.column.Column, str], target_resolution: Union[snowflake.snowpark.column.Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/_functions/scalar_functions.py#L1332-L1364)¶
Returns an array of H3 cell IDs (as strings) that cover the given geography polygon at the specified resolution.
- Parameters:
geography_polygon (ColumnOrName) – The GEOGRAPHY polygon to convert to H3 cells.
target_resolution (ColumnOrName) – The H3 resolution level (0-15) for the output cells.
- Returns:
An array of H3 cell IDs as strings.
- Return type:
- Example::