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

Signatures

Parameters

raster
Raster
required
The input raster.

Return type

An integer value.

Example