ST_YMAX (Lakehouse v1)
Gibt den maximalen Breitengrad (Y-Koordinate) aller im angegebenen GEOMETRY-Objekt enthaltenen Punkte zurück.
SQL-Syntax
Abschnitt betitelt „SQL-Syntax“ST_YMAX(<geometry>)Argumente
Abschnitt betitelt „Argumente“| Argumente | Beschreibung |
|---|---|
<geometry> |
Das Argument muss ein Ausdruck vom Typ GEOMETRY sein. |
Rückgabetyp
Abschnitt betitelt „Rückgabetyp“Double.
SQL-Beispiele
Abschnitt betitelt „SQL-Beispiele“SELECT ST_YMAX( TO_GEOMETRY( 'GEOMETRYCOLLECTION(POINT(180 50),LINESTRING(10 10,20 20,10 40),POINT EMPTY)' ) ) AS pipeline_ymax;
┌───────────────┐│ pipeline_ymax │├───────────────┤│ 50 │└───────────────┘
SELECT ST_YMAX( TO_GEOMETRY( 'GEOMETRYCOLLECTION(POINT(40 10),LINESTRING(10 10,20 20,10 40),POLYGON((40 40,20 45,45 30,40 40)))' ) ) AS pipeline_ymax;
┌───────────────┐│ pipeline_ymax │├───────────────┤│ 45 │└───────────────┘