ST_XMax Signature DOUBLE ST_XMax(GEOMETRY geom); Description Returns the maximum x-value of geom. Example SELECT ST_XMax('LINESTRING(1 2 3, 4 5 6)'); -- Answer: 4.0 See also ST_XMin, ST_YMax, ST_YMin, ST_ZMax, ST_ZMin Source code Back Next