Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using QGIS 1.8.0. Whenever I try to merge raster images I get the following error message:

Traceback (most recent call last): 
File "C:\PROGRA~1\Quantum GIS Lisboa\bin\", line 36, in 
import gdal 
File "C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\", line 2, in 
from osgeo.gdal import deprecation_warn 
File "C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\osgeo\", line 21, in 
_gdal = swig_import_helper() 
File "C:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\osgeo\", line 17, in swig_import_helper 
_mod = imp.load_module('_gdal', fp, pathname, description) 
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden. 

Does anyone know what I sould do?

share|improve this question
If you click on the 'Log Messages' icon, extreme bottom-right of the QGIS screen, does it tell you that Python support is enabled? – nhopton Sep 13 '12 at 12:39
Hello, Yes it does. – Vanessa Sep 13 '12 at 12:43

In the past I've had this problem too. It seemed to come and go with different versions of QGIS and I never found a reason for this.

You can work around the problem by making a virtual raster from your raster images. Raster -> Miscellaneous -> Build Virtual Raster (Catalog). This will build a *.vrt file that you can treat exactly as if it was a merged raster.

Added later: I should have mentioned that it should now be possible to convert the *.vrt file to a GeoTIFF (or any other permitted format) using "Translate" from under the "Raster" menu.


share|improve this answer
Hi Nick, thanks for the adise. Just unfortunatelly I get another error message trying this: ERROR 1: Failed to write .vrt file in FlushCache() – Vanessa Sep 13 '12 at 19:32
Greetings Vanessa, over time I've had several instances of problems with merging rasters, but never problems with creating VRTs. I think it would be a good idea to take this issue to the mailing list. N. – nhopton Sep 14 '12 at 8:27
Hey, now it works! Thank you very much for your help! – Vanessa Sep 14 '12 at 9:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.