ST_X — Return the X coordinate of the point, or NULL if not available. Input must be a point.
float ST_X(
geometry a_point)
;
Return the X coordinate of the point, or NULL if not available. Input must be a point.
If you want to get the max min x values of any geometry look at ST_XMin, ST_XMax functions. |
This method implements the SQL/MM specification. SQL-MM 3: 6.1.3
This function supports 3d and will not drop the z-index.