ST_YMax¶
Returns the maximum Y coordinate of a geometry’s bounding box.
Usage¶
double ST_YMax(geom: geometry)
Arguments¶
- geom (geometry): Input geometry
Examples¶
SELECT ST_YMax(ST_GeomFromText('LINESTRING(0 0, 5 4)'));
┌────────────────────────────────────────────────────────┐
│ st_ymax(st_geomfromtext(Utf8("LINESTRING(0 0, 5 4)"))) │
│ float64 │
╞════════════════════════════════════════════════════════╡
│ 4.0 │
└────────────────────────────────────────────────────────┘