Returns the minimum Y-coordinate of a raster object.
Syntax
float8 ST_YMin(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object to query. |
Description
ST_YMin returns the minimum Y-coordinate of a raster object. If the raster object has not been georeferenced, ST_YMin returns 0.
Examples
The following example queries the minimum Y-coordinate from raster_table.
SELECT ST_YMin(rast) AS ymin
FROM raster_table; ymin
--------
30The value 30 indicates that the raster has been georeferenced. If the raster object has no georeference information, the function returns 0.