2

I'm using QGIS 3.8 with GRASS. I have 3 rasters that are located far from each other and I would like to merge them into one raster layer.

I managed to merge 2 of them but the third one makes problem (I tried also all the 3 but it didn't work).

I got this error message:

Loading resulting layers The following layers were not correctly generated.
C:/this/is/a/path/Temp/processing_e3ae725664cf414481ec8d6bc10a25b3/c955b92928c545d29bc4ec3040703495/OUTPUT.tif
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

I have created the problematic layer again but it didn't work. I don't know if it has to do with their distance from each other:

example

The blue is the merged ones and the red is the problematic raster.

My end goal is to have all of the 3 rasters in one layer. How can I achieve it?

  • Run gdalinfo each_raster for watching Pixel Size and other possible aligning issues. – xunilk Nov 6 '19 at 14:08
  • where should I run this command – Reut Nov 6 '19 at 16:58
  • In OSGeo Console (similar to MSDos Console) into QGIS 3.8 folder. – xunilk Nov 6 '19 at 17:15
  • I get error message : No such file ot directory . It;s the first time I use this consule so maybe I don't know how to really acess my rasters. However in my Log panel, it says: 2019-11-07T10:10:48 INFO GDAL execution console output ERROR 3: Free disk space available is 56180699136 bytes, whereas 89407942624 are at least necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration option to FALSE. Creation failed, terminating gdal_merge. – Reut Nov 7 '19 at 8:18
1

I had the same problem with my DEM merging. Finally, I launched the QGIS desktop 3.8.3, where everything was fine. Alternatively, you can use SAGA for it. Both ways are under the link below:

QGIS Digital Elevation Model merging problem

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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