GEOHASH_ENCODE (Lakehouse v1)
Converts a pair of latitude and longitude coordinates into a Geohash-encoded string.
Analyze Syntax
Section titled “Analyze Syntax”func.geohash_encode(lon, lat)Analyze Examples
Section titled “Analyze Examples”func.geohash_encode(-5.60302734375, 42.593994140625)
┌─────────────────────────────────────────────────────────┐│ func.geohash_encode((- 5.60302734375), 42.593994140625) │├─────────────────────────────────────────────────────────┤│ ezs42d000000 │└─────────────────────────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”GEOHASH_ENCODE(lon, lat)SQL Examples
Section titled “SQL Examples”SELECT GEOHASH_ENCODE(-5.60302734375, 42.593994140625);
┌────────────────────────────────────────────────────┐│ geohash_encode((- 5.60302734375), 42.593994140625) │├────────────────────────────────────────────────────┤│ ezs42d000000 │└────────────────────────────────────────────────────┘