ST_GEOGFROMGEOHASH
geohash の境界を表すポリゴンに対応する GEOGRAPHY オブジェクトを返します。
構文
ST_GEOGFROMGEOHASH(<geohash>)
引数
戻り値の型
Geography。
例
SELECT
ST_ASWKT(
ST_GEOGFROMGEOHASH(
'9q60y60rhs'
)
) AS pipeline_geography;
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ pipeline_geography │
│ String │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ POLYGON((-120.66229462623596 35.30029535293579,-120.66229462623596 35.30030071735382,-120.66230535507202 35.30030071735382,-120.66230535507202 35.30029535293579… │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯