Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

RS_NumBands

Introduction: Returns the number of the bands in the raster.

Format: RS_NumBands (raster: Raster)

Since: v1.4.0

SQL Example

SELECT RS_NumBands(raster) FROM raster_table

Output:

4