Returns the minimum X-coordinate of a raster object.
Syntax
float8 ST_XMin(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object. |
Description
Returns the minimum X-coordinate of a georeferenced raster object. If the raster object is not georeferenced, the function returns 0.
Example
select ST_XMin(rast)
from raster_table;Result:
st_xmin
----------
120