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