Description
The ST_YMax
function returns the Y maxima of a geometry, or Null if the
specified value is not a geometry.
Syntax
ST_YMax(WritableGeometry geometry)
Parameters
Parameter | Type | Description |
---|---|---|
geometry | WritableGeometry | The input geometry. |
Return Values
Return Type | Description |
---|---|
Double | The Y maxima of the input geometry, or Null if the specified value is not a geometry. |
Examples
SELECT ST_YMax(ST_GeomFromWKT(s.geometry, 'epsg:4326')) FROM src s;