跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_GeoHashNeighbors

Introduction: 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.

Format: ST_GeoHashNeighbors(geohash: String)

Return type: Array<String>

Since: v1.9.0

Example:

SELECT ST_GeoHashNeighbors('u1pb')

Output:

[u1pc, u301, u300, u2bp, u0zz, u0zx, u1p8, u1p9]

ST_GeoHashNeighbors