Skip to content
πŸŽ‰ Apache Sedona 1.9.1 is out now! πŸ—ΊοΈ Geography SQL functions, Box2D & Box3D types, raster Python UDFs & more. Read the release notes β†’

ST_Z

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

ST_Z

Format: ST_Z(pointA: Point)

Return type: Double

Since: v1.2.0

SQL Example

SELECT ST_Z(ST_POINT(0.0 25.0 11.0))

Output:

11.0