All Products
Search
Document Center

PolarDB:ST_YMin

Last Updated:Mar 28, 2026

Returns the minimum Y-coordinate of a raster object.

Syntax

float8 ST_YMin(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object.

Description

Returns the minimum Y-coordinate of the raster object. If the raster object is not georeferenced, the function returns 0.

Example

The following example queries the minimum Y-coordinate of rasters in raster_table.

select ST_YMin(rast)
from raster_table;

Output:

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