All Products
Search
Document Center

ApsaraDB RDS:ST_XMin

Last Updated:Mar 28, 2026

Returns the minimum X-coordinate value of a raster object.

Syntax

float8 ST_XMin(raster raster_obj)
float8 ST_XMin(raster raster_obj, integer pyramid)

Parameters

ParameterDescription
raster_objThe name of the raster object.
pyramidThe pyramid level. The value starts from 0.

Description

If the raster object has been georeferenced, ST_XMin returns the minimum X-coordinate value of the raster object. If the raster object has not been georeferenced, ST_XMin returns 0.

Examples

select ST_XMin(rast)
from raster_table;

 st_xmin
----------
      120