Skip to main content
Returns the neighbor geohash cell in the given direction. Valid directions are: n, ne, e, se, s, sw, w, nw (case-insensitive).

Signatures

Parameters

geohash
String
required
A GeoHash string.
direction
String
required
The direction value.

Return type

A string representation.

Example

ST_GeoHashNeighbor