Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

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