[Qgis-user] join image bands

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Mon May 25 18:43:04 PDT 2009


Milton:
> I have three tif files, one for each landsat image, 
> and I would like to join the bands on one file.
> Can I do this on Qgis?


Hi! There is an "RGB Composition" qgis-plugin available for that. But it
doesn't work for me (error below)?

Nikos

--%<--
An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/nik/.qgis//python/plugins/rgb/Rgb.py", line 49, in makergb

composite.rgb(str(self.pluginGui.comboBox_3.currentText()),str(self.pluginGui.comboBox_4.currentText()),str(self.pluginGui.comboBox_5.currentText()),str(self.pluginGui.lineEdit.text()))
  File "/home/nik/.qgis//python/plugins/rgb/composite.py", line 15, in
rgb
    x=r.RasterXSize
AttributeError: 'NoneType' object has no attribute 'RasterXSize'

Python version:
2.6.2 (release26-maint, Apr 19 2009, 02:15:38) 
[GCC 4.3.3]

Python path:['/usr/local/share/qgis/python',
'/home/nik/.qgis//python/plugins/symbology_ng',
'/home/nik/.qgis//python/plugins/symbology_ng',
'/home/nik/.qgis//python/plugins',
'/usr/local/share/qgis/python/plugins',
'/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', '/usr/local/share/qgis/python/plugins/fTools/tools', '~/.qgis/python', '/usr/share/qgis/python']
--%<--




More information about the Qgis-user mailing list