[Qgis-user] Error using clipper with mask option

Jaime Palalane mitasjp at gmail.com
Tue Aug 23 08:35:51 PDT 2011


Olás,

Using a vectorial layer which defines the limit of a basin I am studying 
I want to cut a portion of a DEM which is my raster file. For that I 
tried to use the clipper function, under Raster Menu (GDAL plugin),  
with *mask option* but it returns the error below and as a result a I 
got a raster equal to the original. How can I solve this problem? Is 
there any other way to cut a portion of a DEM for further specific 
analysis of a small portion of my interest?


Ocorreu um erro durante a execução do seguinte código Python: (An error 
occurred with the execution of the following Python code:)

Traceback (most recent call last):
   File 
"/usr/share/qgis/python/plugins/GdalTools/tools/widgetPluginBase.py", 
line 27, in someValueChanged
     self.emit(SIGNAL("valuesChanged(const QStringList &)"), 
self.getArguments())
   File "/usr/share/qgis/python/plugins/GdalTools/tools/doClipper.py", 
line 105, in getArguments
     return self.getArgsModeMask()
   File "/usr/share/qgis/python/plugins/GdalTools/tools/doClipper.py", 
line 143, in getArgsModeMask
     if self.alphaBandCheck.isChecked():
AttributeError: 'GdalToolsDialog' object has no attribute 'alphaBandCheck'

Versão do Python:
2.7.1+ (r271:86832, Apr 11 2011, 18:37:12)
[GCC 4.5.2]


Versão do QGIS:
1.7.0-Wroclaw Wroclaw, exported

Caminho para o Python: ['/usr/share/qgis/python', 
'/home/jp/.qgis/python', '/home/jp/.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/Numeric', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/pymodules/python2.7/gtk-2.0', 
'/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/pymodules/python2.7/ubuntuone-client', 
'/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol', 
'/usr/lib/pymodules/python2.7/ubuntuone-control-panel', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/usr/share/qgis/python/plugins/fTools/tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110823/f237454c/attachment.html>


More information about the Qgis-user mailing list