ST_GEOMFROMGEOHASH (Lakehouse v1)
Renvoie un objet GEOMETRY pour le polygone qui représente les limites d’un geohash.
Syntaxe SQL
Section intitulée « Syntaxe SQL »ST_GEOMFROMGEOHASH(<geohash>)Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<geohash> |
L’argument doit être un geohash. |
Type de retour
Section intitulée « Type de retour »Geometry.
Exemples SQL
Section intitulée « Exemples SQL »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)) │└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘