跳转到内容

返回表示 geohash 中心点的 GEOMETRY 对象。

ST_GEOMPOINTFROMGEOHASH(<geohash>)
参数 说明
<geohash> 参数必须是 geohash。

Geometry。

SELECT
ST_GEOMPOINTFROMGEOHASH(
's02equ0'
) AS pipeline_geometry;
┌──────────────────────────────────────────────┐
│ pipeline_geometry │
│ Geometry │
├──────────────────────────────────────────────┤
│ POINT(1.0004425048828125 2.0001983642578125) │
└──────────────────────────────────────────────┘