RS_NumBands¶
Returns the number of bands in the raster.
Usage¶
uint32 RS_NumBands(rast: raster)
Arguments¶
- rast (raster): Input raster
Examples¶
SELECT RS_NumBands(RS_Example());
┌───────────────────────────┐
│ rs_numbands(rs_example()) │
│ uint32 │
╞═══════════════════════════╡
│ 3 │
└───────────────────────────┘