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

ST_YMin

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

Format: ST_YMin(box: Box2D)

Return type: Double

Since: v1.9.1

SQL Example

SELECT ST_YMin(ST_MakeBox2D(ST_Point(0.0, 0.0), ST_Point(10.0, 20.0)))

Output:

0.0

Returns NULL on NULL input.