ST_YMin
更新时间:
复制 MD 格式
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
| Parameter | Description |
|---|---|
raster_obj | The raster object to query. |
pyramid | The pyramid level to query. Values start from 0. |
Usage notes
If the raster object is georeferenced, the function returns its minimum Y-coordinate value.
If the raster object is not georeferenced, the function returns 0.
Examples
Query the minimum Y-coordinate value of the rast column in raster_table:
SELECT ST_YMin(rast)
FROM raster_table;Output:
st_ymin
----------
30What's next
该文章对您有帮助吗?