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

Bishwarup Banerjee bishwarup.banerjee at gmail.com
Wed Oct 28 01:13:43 EDT 2009


Dear Agus,

I think you can use PIL, Split the band and save the individual bands as
separate raster and load them acoording to your wish.

Hope this solves your problem.

Bye
Sonai


On Tue, Oct 27, 2009 at 5:08 PM, Agustin Lobo <alobolistas at gmail.com> wrote:

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091028/550a22e8/attachment.html


More information about the Qgis-developer mailing list