snowflake.snowpark.functions.st_geomfromgeohash¶
- snowflake.snowpark.functions.st_geomfromgeohash(geohash: Union[snowflake.snowpark.column.Column, str], precision: Union[snowflake.snowpark.column.Column, str] = None) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.42.0/src/snowflake/snowpark/_functions/scalar_functions.py#L3010-L3042)¶
Constructs a GEOMETRY object from a geohash string.
- Parameters:
geohash (ColumnOrName) – A column or string containing the geohash value
precision (ColumnOrName, optional) – A column or value specifying the precision level for the geohash conversion
- Returns:
A GEOMETRY object representing the polygon area covered by the geohash
- Return type:
- Examples::