Skip to main content
Returns Z minima of the given geometry or null if there is no Z coordinate. ST_ZMin

Signatures

ST_ZMin(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

A numeric value.

Example

SELECT ST_ZMin(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'))
4.0