跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

ST_ZMin

Introduction: Return the minimum Z coordinate of a Box3D value. This is the same function as the Geometry-input form, overloaded to accept a Box3D.

Format: ST_ZMin(box: Box3D)

Return type: Double

Since: v1.9.1

SQL Example

SELECT ST_ZMin(ST_3DMakeBox(ST_PointZ(0.0, 0.0, -3.0), ST_PointZ(5.0, 10.0, 7.0)))

Output:

-3.0

Returns NULL on NULL input.