All Products
Search
Document Center

ApsaraDB RDS:ST_Height

Last Updated:Mar 28, 2026

Returns the height of a raster.

Syntax

integer ST_Height(raster raster_obj);
integer ST_Height(raster raster_obj, integer pyramid)

Parameters

ParameterDescription
raster_objThe raster object whose height you want to get.
pyramidThe pyramid level of the raster. Valid values start from 0.

Example

Query the height of each raster in a table:

select ST_Height(raster_obj) from raster_table;