> ## 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_GeogFromGeoHash (Python)

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

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

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

## Signature

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

ST_GeogFromGeoHash(
    geohash: ColumnOrName,
    precision: Optional[Union[ColumnOrName, int]] = None,
) -> Column
```

## Parameters

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

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

## Returns

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


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