ST_GEOGPOINTFROMGEOHASH
geohash の中心を表す点に対応する GEOGRAPHY オブジェクトを返します。
構文
ST_GEOGPOINTFROMGEOHASH(<geohash>)
引数
戻り値の型
Geography。
例
SELECT
ST_ASWKT(
ST_GEOGPOINTFROMGEOHASH(
's02equ0'
)
) AS pipeline_geography;
╭──────────────────────────────────────────────╮
│ pipeline_geography │
│ String │
├──────────────────────────────────────────────┤
│ POINT(1.0004425048828125 2.0001983642578125) │
╰──────────────────────────────────────────────╯