Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

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

SQL example:

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

Output: 4.0