Returns the minimum Y-coordinate of a raster object.
Syntax
float8 ST_YMin(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The 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