跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_YMax

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

Format: ST_YMax(box: Box3D)

Return type: Double

Since: v1.9.1

SQL Example

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

Output:

10.0

Returns NULL on NULL input.