跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

ST_ZMax

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

ST_ZMax

Format: ST_ZMax(geom: Geometry)

Return type: Double

Since: v1.3.1

Example:

SELECT ST_ZMax(ST_GeomFromText('POLYGON((0 0 1, 1 1 1, 1 2 1, 1 1 1, 0 0 1))'))

Output:

1.0