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