snowflake.snowpark.functions.h3_try_polygon_to_cells_strings¶
- snowflake.snowpark.functions.h3_try_polygon_to_cells_strings(geography_polygon: Union[snowflake.snowpark.column.Column, str], target_resolution: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns an array of H3 cell IDs as strings that cover the given geography polygon at the specified resolution. Returns NULL if the input is invalid.
- Parameters:
geography_polygon (ColumnOrName) – The GEOGRAPHY polygon.
target_resolution (ColumnOrName) – The target H3 resolution (0-15).
- Returns:
An array of H3 cell IDs as strings, or NULL if the input is invalid.
- Return type:
- Example::