Skip to main content
Returns the number of the bands in the raster.

Signatures

RS_NumBands (raster: Raster)

Parameters

raster
Raster
required
The input raster.

Return type

An integer value.

Example

SELECT RS_NumBands(raster) FROM raster_table
4