[Qgis-developer] Selecting one band from multi-band raster in the python console

Agustin Lobo alobolistas at gmail.com
Tue Oct 27 07:38:50 EDT 2009


In case I have a multi-band raster, how do I select one band?
I mean, which would be the equivalent to
layer1 = iface.mapCanvas().layer(0)
?

Thanks!

Agus


More information about the Qgis-developer mailing list