[Qgis-user] Problems with RGB composition

Bernardo Santos bernardo_brandaum at yahoo.com.br
Wed Mar 20 06:27:15 PDT 2013


Dear all,

I am working with QGIS version 1.8.0 (Lisboa) and trying to compose a layer using three different satellite images (red, green, and blue) using "RGB Composition" plugin.

However, I have a problem every time I try to unify this images. I have already tried it using different images from different sources, what makes me think that the problem is with QGIS. Furthermore, a friend of mine were able to make the composition using ArcGIS.

I have already seen this problem reported in some forums, but with no answers of how to fix it.
Could you please help me with that? Do you have any insight about that?

Thank you very much.

Here I show the problem:

 
Traceback (most recent call last):
  File "/home/berci/.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/berci/.qgis//python/plugins/rgb/composite.py", line 18, in rgb
    x=r.RasterXSize
AttributeError: 'NoneType' object has no attribute 'RasterXSize'

Versão do Python:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]


Versão do QGIS
1.8.0-Lisboa Lisboa, exported

Caminho para o Python: ['/usr/share/qgis/python', '/home/berci/.qgis//python', '/home/berci/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python',
 '/usr/share/qgis/python/plugins/fTools/tools', '/usr/share/qgis/python']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130320/b4c03f42/attachment.html>


More information about the Qgis-user mailing list