Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

ST_ZMin

Introduction: Returns Z minima of the given geometry or null if there is no Z coordinate.

ST_ZMin

Format: ST_ZMin(geom: Geometry)

Return type: Double

Since: v1.3.1

SQL Example

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

Output:

4.0