Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Create Geography from geohash string and optional precision

Signatures

ST_GeogFromGeoHash(geohash: String, precision: Integer)

Parameters

geohash
String
required
A GeoHash string.
precision
Integer
required
The number of decimal places.

Return type

The computed result.

Example

SELECT ST_GeogFromGeoHash('9q9j8ue2v71y5zzy0s4q', 16)
POLYGON ((-122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162))"