# Function: geohash()

```ts
function geohash(
   lat, 
   lon, 
   precision
): string;
```

Defined in: [packages/core/src/schemas/geo.ts:26](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/geo.ts#L26)

The geohash of a point, `precision` characters long (1–12)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `lat` | `number` |
| `lon` | `number` |
| `precision` | `number` |

## Returns

`string`
