[Qgis-user] merging parts from various raster files

Keith Jenkins kgjenkins at gmail.com
Wed May 1 09:28:47 PDT 2024


Another option would be to use the "Rasterize (vector to raster)" tool
to create a raster where the pixel value is region number, and then
use "Raster Calculator" with a formula like this:

"U11 at 1"*("RR at 1"=11) + "U21 at 1"*("RR at 1"=21) + "U22 at 1"*("RR at 1"=22) + etc.

Where U11, U21, U22... are your original rasters, and RR is the
rasterized region polygons.  This will effectively copy the values
within each region from the corresponding raster.

Keith


On Tue, Apr 30, 2024 at 2:10 PM Sibylle Stöckli via QGIS-User
<qgis-user at lists.osgeo.org> wrote:
> Selection of the raster file modelled with the input data for this biogeoregion. Reminder, my ecosystem service model is just able to provide output for the entire country, but each biogeoregion should be modelled with it’s respective input data. In this way, from the model with the input data form biogeoregion 1 I just need the output from biogeoregion 1 etc.


More information about the QGIS-User mailing list