Skip to content

Returns a GEOMETRY object for the point that represents center of a geohash.

ST_GEOMPOINTFROMGEOHASH(<geohash>)
ArgumentsDescription
<geohash>The argument must be a geohash.

Geometry.

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