Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_GeogFromGeoHash

Introduction: Create Geography from geohash string and optional precision

Format:

ST_GeogFromGeoHash(geohash: String, precision: Integer)

Since: v1.8.0

SQL Example

SELECT ST_GeogFromGeoHash('9q9j8ue2v71y5zzy0s4q', 16)

Output:

POLYGON ((-122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162, -122.3061 37.554162))"