Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.18 KB

File metadata and controls

42 lines (30 loc) · 1.18 KB

ST_YMax

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

Format: ST_YMax(box: Box2D)

Return type: Double

Since: v1.9.1

SQL Example

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

Output:

20.0

Returns NULL on NULL input.