ST_GEOMFROMGEOHASH (Lakehouse v1)
Retorna um objeto GEOMETRY com o polígono que representa os limites de um geohash.
SQL Syntax
Seção intitulada “SQL Syntax”ST_GEOMFROMGEOHASH(<geohash>)Arguments
Seção intitulada “Arguments”| Argumentos | Descrição |
|---|---|
<geohash> |
O argumento deve ser um geohash. |
Return Type
Seção intitulada “Return Type”Geometry.
SQL Examples
Seção intitulada “SQL Examples”SELECT ST_GEOMFROMGEOHASH( '9q60y60rhs' ) AS pipeline_geometry;
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│ st_geomfromgeohash('9q60y60rhs') │├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤│ POLYGON((-120.66230535507202 35.30029535293579,-120.66230535507202 35.30030071735382,-120.66229462623596 35.30030071735382,-120.66229462623596 35.30029535293579,-120.66230535507202 35.30029535293579)) │└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘