[GIS] What method does QGIS Merge Rasters tool use

mergemosaicqgisraster

I am trying to merge rasters in QGIS and want to set a priority order for merging so that the values from the highest priority raster are used in overlap areas (the “FIRST” merge/mosaic method, I believe).

Does anyone know what the merge method is for the QGIS tool under Vector -> Miscellaneous -> Merge? I have not found documentation for the method, but it is clear that it is combining the files in some way other than just taking values from the first loaded raster.

Is the SAGA Mosaic Raster Layers my best alternative?

Best Answer

For merging rasters, QGIS use the script gdal_merge (Python script)

gdal_merge.py raster1.tif raster2.tif raster3.tif -o merged.tif

Merge method is for the QGIS tool under Vector -> Miscellaneous -> Merge merge vector layers, as its name indicates

Related Question