ST_XMIN
functionsupportedCore SQL functionsReturns the minimum longitude (X coordinate) of all points contained in the specified GEOGRAPHY or GEOMETRY object.
Syntax
ST_XMIN( <geography_or_geometry_expression> )
Parameters
| Name | Required | Description |
|---|---|---|
geography_or_geometry_expression | required | The argument must be an expression of type GEOGRAPHY or GEOMETRY. |
Returns
Returns a REAL value.
Usage notes
- If the geospatial object is on the antimeridian or crosses it, the function returns -180.