ST_GEOMPOINTFROMGEOHASH
返回一个 GEOMETRY 对象,表示 geohash 中心点对应的点。
语法
ST_GEOMPOINTFROMGEOHASH(<geohash>)
参数
返回类型
Geometry。
示例
SELECT
ST_GEOMPOINTFROMGEOHASH(
's02equ0'
) AS pipeline_geometry;
┌──────────────────────────────────────────────┐
│ pipeline_geometry │
│ Geometry │
├──────────────────────────────────────────────┤
│ POINT(1.0004425048828125 2.0001983642578125) │
└──────────────────────────────────────────────┘