The ST_MaxZ() and ST_MinZ() functions

The ST_MaxZ() and ST_MinZ() functions return the maximum and minimum Z coordinates of a geometry.

Syntax

ST_MaxZ(ST_Geometry)

ST_MinZ(ST_Geometry)

Return type

DOUBLE PRECISION