qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.51k stars 2.99k forks source link

Calculate average for overlapping parts when merging rasters #46990

Open magnusnil opened 2 years ago

magnusnil commented 2 years ago

Feature description

When merging rasters using the Merge tool in processing, there are no options for how to handle overlapping parts. In my case, the files overlap with a few hundred meters, and for these parts I would like QGIS to calculate the average value for the raster files (2 or more files). See for example how FME allows this kind of manipulation, http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/rastermosaicker.htm.

Additional context

No response

gioman commented 2 years ago

@magnusnil I agree is a very common need when merging rasters. Anyway if we are talking about the tool in processing > gdal > miscellaneous > merge, then this feature request should probably be filed here https://github.com/OSGeo/gdal/issues (the tool comes from GDAL is not a QGIS core one).

magnusnil commented 2 years ago

Thanks! I created a GDAL issue for this.