BandList
This class provides a list-like interface for accessing the raster bands within a GDAL dataset. It supports standard sequence operations such as iteration, indexing, and length retrieval by wrapping internal data source pointers. Each element accessed through this class is returned as a GDALBand object.
Attributes
| Attribute | Type | Description |
|---|---|---|
| source | GDALDataset | The GDALDataset instance that serves as the data source for the raster bands. |
Constructor
Signature
def BandList(
source: GDALDataset
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| source | GDALDataset | The source dataset object that contains the raster bands. |