Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns Z maxima of the given geometry or null if there is no Z coordinate. ST_ZMax

Signatures

ST_ZMax(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

A numeric value.

Example

SELECT ST_ZMax(ST_GeomFromText('POLYGON((0 0 1, 1 1 1, 1 2 1, 1 1 1, 0 0 1))'))
1.0