Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have two rasters in Geotiff, same CRS. I tried to merge them and I have this error code

ERROR 4: `C:/Anita_Tepoztln/Rasters/e142.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

ERROR 4: `C:/Anita_Tepoztln/Rasters/e145.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

Traceback (most recent call last):

File "C:\PROGRA~2\Quantum GIS Lisboa\bin\gdal_merge.py", line 509, in 
sys.exit(main()) 
File "C:\PROGRA~2\Quantum GIS Lisboa\bin\gdal_merge.py", line 392, in main 
ulx = file_infos[0].ulx 
IndexError: list index out of range 

I wonder what I am doing wrong.

I am able to load the rasters and see them, not merging them

I am using Qgis Lisboa standallone installation, on Win7 64 16gb of RAM

share|improve this question
    
The two DEMs are in the same CRS, but do they match the project's CRS as well? If not, that's probably the issue. –  HeyOverThere Nov 14 '12 at 15:04
    
Yes, raster layers and the project are in the same crs (EPSG 4326, lat lon wgs84), so this is not the issue –  Gerardo Jimenez Nov 14 '12 at 15:37
1  
Are the two files really geotiffs with CRS information inside? What do you get from gdalinfo <filename>? –  Andre Joost Nov 14 '12 at 16:08
    
yes, I can see all the information about each raster layer, Do you want a copy of them? –  Gerardo Jimenez Nov 14 '12 at 16:44
1  
Yes, looks good. But the á in the folder path may spoil it. At least it does so here, with the non-ASCII-Letters omitted in the error log. Can you try a folder with only ASCII-letters? –  Andre Joost Nov 15 '12 at 6:35
show 2 more comments

1 Answer

Is "Anita_Tepoztlán" your Windows User name?

Non-ASCII-characters can cause breakdowns.

You may also need to reinstall QGIS is in a folder with only ASCII-characters in the title as well.

share|improve this answer
    
No, it was the name of the folder where I have all the raster layers –  Gerardo Jimenez Nov 20 '12 at 16:34
1  
In fact I had the same problem and the problem was that the path to the images contained one "á" so I changed to "a" and the algorith run normally. –  Marlon Calispa Aug 14 '13 at 15:12
add comment

Your Answer

 
discard

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.