All Products
Search
Document Center

PolarDB:ST_XMin

Last Updated:Mar 28, 2026

Returns the minimum X-coordinate of a raster object.

Syntax

float8 ST_XMin(raster raster_obj)

Parameters

ParameterDescription
raster_objThe 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