Skip to main content

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.

Returns the 8 neighboring geohash cells of a given geohash string. The result is an array of 8 geohash strings in the order: N, NE, E, SE, S, SW, W, NW.

Signatures

ST_GeoHashNeighbors(geohash: String)

Parameters

geohash
String
required
A GeoHash string.

Return type

A string representation.

Example

SELECT ST_GeoHashNeighbors('u1pb')
[u1pc, u301, u300, u2bp, u0zz, u0zx, u1p8, u1p9]
ST_GeoHashNeighbors