> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_GeomFromGeoHash (Python)

> Generate a geometry column from a geohash column at a specified precision.

Generate a geometry column from a geohash column at a specified precision.

SQL reference: [`ST_GeomFromGeoHash`](/reference/wherobots-db/geometry-data/constructors/ST_GeomFromGeoHash)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_constructors import ST_GeomFromGeoHash

ST_GeomFromGeoHash(geohash: ColumnOrName, precision: Union[ColumnOrName, int]) -> Column
```

## Parameters

<ParamField path="geohash" type="ColumnOrName" required>
  Geohash string column to generate from.
</ParamField>

<ParamField path="precision" type="Union[ColumnOrName, int]" required>
  Geohash precision to use, either an integer or an integer column.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry column representing the supplied geohash and precision level.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.