[Qgis-user] problem while clipping an .img

Eija Soini eija.k.soini at gmail.com
Sat Nov 12 08:02:45 EST 2011

Does anyone know a way around a problem that I face:
I am trying to cut smaller pieces from a global data layer in Erdas img format by drawing a box around the area (Clipping mode, Extend), but I get an error saying 
-srcwin 2212 1044 0 0 falls outside raster size of 4424x1840 
I did manage to clip a tif by this same function. 
When I try to clip the img by a country boundary I get another problem:
An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\widgetPluginBase.py", line 27, in someValueChanged
    self.emit(SIGNAL("valuesChanged(const QStringList &)"), self.getArguments())
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\doClipper.py", line 105, in getArguments
    return self.getArgsModeMask()
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\doClipper.py", line 143, in getArgsModeMask
    if self.alphaBandCheck.isChecked():
TypeError: 'sip.methoddescriptor' object is not callable

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
QGIS version:
1.7.0-Wroclaw Wroclaw, 63ecdd7
Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python', 'C:/Users/esoini/.qgis/python', 'C:/Users/esoini/.qgis/python/plugins', 'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins', 'C

or is otherwise illegal. 
E i j a S o i n i 
eija.soini at iki.fi
+255 784 601 726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-user/attachments/20111112/1ad983c1/attachment-0001.html

More information about the Qgis-user mailing list