Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

ST_YMax

Introduction: Return the minimum Y coordinate of A

ST_YMax

Format: ST_YMax (A: Geometry)

Return type: Double

Since: v1.2.1

Example:

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

Output :

2