All Products
Search
Document Center

PolarDB: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 whose height you want to obtain.
pyramidThe pyramid level at which the raster resides. Valid values start from 0.

Example

SELECT ST_Height(raster_obj) FROM raster_table;