Skip to main content
Wherobots home page
Search...
⌘K
Ask AI
Try Wherobots Cloud
Try Wherobots Cloud
Search...
Navigation
Operators
RS_NumBands
Home
Build & Deploy
Spatial Analytics Tutorials
Changelog
Reference
Apache Sedona vs. Wherobots
API Playground
Terms & Support
Wherobots Cloud REST API
Runs REST API
Audit Logs Export
WherobotsDB
Geometry/Geography Data Processing
Visualization
Raster Data Processing
Overview
Raster Functions
Raster Functions
Constructors
Accessors
Output
Band Accessors
Geometry Functions
Operators
RS_AddBand
RS_CRS
RS_Clip
RS_Interpolate
RS_MetaData
RS_NormalizeAll
RS_NumBands
RS_ReprojectMatch
RS_Resample
RS_SRID
RS_SetBandNoDataValue
RS_SetCRS
RS_SetGeoReference
RS_SetPixelType
RS_SetSRID
RS_SetValue
RS_SetValues
RS_Union
RS_Value
RS_Values
Predicates
Aggregate Functions
Map Algebra Operators
Map Algebra
Pixel Functions
Tiles
Raster Affine Transformation
Raster Map Algebra
Raster Loaders
Raster Writers
Raster Visualizer
Parameters
Vector tiles (PMTiles)
Vector Tiles (VTiles) Python API
Vector Tiles (VTiles) Scala Object
Havasu (Iceberg) table management
Introduction
Geometry/Geography data
Raster Data
Compatibility with Apache Iceberg
Havasu Table Spec
GeoStats and Map Matching
Clustering
Hotspot Detection
Map Matching
Outlier Detection
Sampling
Weighting
Rasterflow
Client
Data Models
Exceptions
Model Registry
On this page
Signatures
Parameters
Return type
Example
Operators
RS_NumBands
Copy page
Copy page
Returns the number of the bands in the raster.
Signatures
Report incorrect code
Copy
Ask AI
RS_NumBands (raster: Raster)
Parameters
raster
Raster
required
The input raster.
Return type
An integer value.
Example
Report incorrect code
Copy
Ask AI
SELECT
RS_NumBands(raster)
FROM
raster_table
Report incorrect code
Copy
Ask AI
4
Was this page helpful?
Yes
No
RS_NormalizeAll
Previous
RS_ReprojectMatch
Next
⌘I
Assistant
Responses are generated using AI and may contain mistakes.