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
If the raster object is georeferenced, this function returns the minimum X-coordinate. Otherwise, the function returns 0.
Example
select ST_XMin(rast)
from raster_table;
st_xmin
----------
120