カテゴリ:地理空間関数 ST_GEOMPOINTFROMGEOHASH¶ geohash の中心を表すポイントの GEOMETRY オブジェクトを返します。 こちらもご参照ください。ST_GEOHASH, ST_GEOMFROMGEOHASH 構文¶ CopyExpandST_GEOMPOINTFROMGEOHASH( <geohash> ) Show lessSee moreScroll to top 引数¶ geohash引数はgeohashでなければなりません。 戻り値¶ この関数は、geohashの中心であるポイントを表す型 GEOMETRY の値を返します。 例¶ 次の例では、geohashの中心にあるポイントの GEOMETRY オブジェクトを返します。 CopyExpandSELECT ST_GEOMPOINTFROMGEOHASH('9q9j8ue2v71y5zzy0s4q') AS geometry_center_point_of_geohash; Show lessSee moreScroll to top Expand+----------------------------------+ | GEOMETRY_CENTER_POINT_OF_GEOHASH | |----------------------------------| | { | | "coordinates": [ | | -1.223061000000001e+02, | | 3.755416199999996e+01 | | ], | | "type": "Point" | | } | +----------------------------------+ Show lessSee moreScroll to top