> ## 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_GeoHash

Returns GeoHash of the geometry with given precision

## Signatures

```sql theme={"system"}
ST_GeoHash(geom: Geometry, precision: Integer)
```

## Parameters

<ParamField body="geom" type="Geometry" required>
  The input geometry.
</ParamField>

<ParamField body="precision" type="Integer" required>
  The number of decimal places.
</ParamField>

## Return type

<ResponseField type="String">
  A string representation.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_GeoHash(ST_GeomFromText('POINT(21.427834 52.042576573)'), 5) AS geohash
```

```
u3r0p
```
