Skip to main content

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

AttributeTypeDescription
sourceGDALDatasetThe GDALDataset instance that serves as the data source for the raster bands.

Constructor

Signature

def BandList(
source: GDALDataset
) - > null

Parameters

NameTypeDescription
sourceGDALDatasetThe source dataset object that contains the raster bands.