Skip to main content
Return the neighboring geohash cell in the specified direction. SQL reference: ST_GeoHashNeighbor

Signature

Parameters

ColumnOrName
required
Geohash string column.
Union[ColumnOrName, str]
required
Compass direction: ‘n’, ‘ne’, ‘e’, ‘se’, ‘s’, ‘sw’, ‘w’, ‘nw’.

Returns

Column
Neighboring geohash string.