ST_YMIN (Lakehouse v1)
Renvoie la latitude minimale (coordonnée Y) de tous les points contenus dans l’objet GEOMETRY indiqué.
Syntaxe SQL
Section intitulée « Syntaxe SQL »ST_YMIN(<geometry>)Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<geometry> |
L’argument doit être une expression de type GEOMETRY. |
Type de retour
Section intitulée « Type de retour »Double.
Exemples SQL
Section intitulée « Exemples SQL »SELECT ST_YMIN( TO_GEOMETRY( 'GEOMETRYCOLLECTION(POINT(-180 -10),LINESTRING(-179 0, 179 30),POINT EMPTY)' ) ) AS pipeline_ymin;
┌───────────────┐│ pipeline_ymin │├───────────────┤│ -10 │└───────────────┘
SELECT ST_YMIN( TO_GEOMETRY( 'GEOMETRYCOLLECTION(POINT(180 0),LINESTRING(-60 -30, 60 30),POLYGON((40 40,20 45,45 30,40 40)))' ) ) AS pipeline_ymin;
┌───────────────┐│ pipeline_ymin │├───────────────┤│ -30 │└───────────────┘