Name

ST_YMin — Returns the minimum Y of the geometry bounding box.

Synopsis

double ST_YMin(bytea Geometry);

Alias

YMin

Description

Returns the minimum Y of the geometry bounding box.

Coordinate Dimensions
2D3DM
Spatial Standards Support
OGC SFS for SQL. 1.1 (1999)OGC SFS for SQL. 1.1.0 (2005)OGC SFS for SQL. 1.2.0 (2006)SQL-MM Part 3
----

Examples

SELECT ST_AsText(Box2D(ST_GeomFromText('LINESTRING (1 0, 2 3, 3 2, 4 4)')));
--Result
POLYGON ((1 0, 1 4, 4 4, 4 0, 1 0))

SELECT ST_YMin(Box2D(ST_GeomFromText('LINESTRING (1 0, 2 3, 3 2, 4 4)')));
--Result
0.0

SELECT ST_YMin(ST_GeomFromText('LINESTRING (1 0, 2 3, 3 2, 4 4)'));
--Result
0.0

Related functions

ST_XMax,ST_XMin,ST_YMax,ST_ZMax,ST_ZMin