All Products
Search
Document Center

ApsaraDB RDS:ST_YMin

Last Updated:Mar 28, 2026

Returns the minimum Y-coordinate value of a raster object.

Syntax

float8 ST_YMin(raster raster_obj)
float8 ST_YMin(raster raster_obj, integer pyramid)

Parameters

ParameterDescription
raster_objThe name of the raster object.
pyramidThe pyramid level. The value starts from 0.

Description

Returns the minimum Y-coordinate value of the spatial extent of the raster object.

If the raster object has not been georeferenced, this function returns 0.

Examples

Query the minimum Y-coordinate of a raster object:

SELECT ST_YMin(rast)
FROM raster_table;

 st_ymin
----------
      30

See also