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_Z

Introduction: Returns Z Coordinate of given Point, null otherwise.

ST_Z

Format: ST_Z(pointA: Point)

Return type: Double

SQL example:

SELECT ST_Z(ST_POINT(0.0 25.0 11.0))

Output: 11.0