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

ST_GeogFromGeoHash

Introduction: Create Geography from geohash string and optional precision

Format:

ST_GeogFromGeoHash(geohash: String, precision: Integer)

Return type: Geography

Since: v1.8.0

SQL Example

SELECT ST_GeogFromGeoHash('9q9j8ue2v71y5zzy0s4q', 16)

Output:

POLYGON ((-122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162))"