<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Hello Sybille,</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I am not sure if I understand your problem correctly. I assume, you have a mosaic of raster files (that overlap) and you want to create a single raster file for statistical analysis. In my opinion, the easiest way to achieve that is to create a virtual raster (VRT)
 and either use that for stats or create a new raster file from the VRT. You can find the tool in the processing toolbox. With the tool you can even define the resolution, if mixed, and how the VRT should be resampled.</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
HTH</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Frank</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<a href="https://docs.qgis.org/3.34/en/docs/user_manual/processing_algs/gdal/rastermiscellaneous.html#build-virtual-raster">https://docs.qgis.org/3.34/en/docs/user_manual/processing_algs/gdal/rastermiscellaneous.html#build-virtual-raster</a></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> QGIS-User <qgis-user-bounces@lists.osgeo.org> im Auftrag von Sibylle Stöckli via QGIS-User <qgis-user@lists.osgeo.org><br>
<b>Gesendet:</b> Dienstag, 30. April 2024 11:34<br>
<b>An:</b> qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org><br>
<b>Betreff:</b> [Qgis-user] merging parts from various raster files</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear community<br>
<br>
I am working with QGIS 3.34 (Prizren) and would like to merge region 1 from<br>
raster (.tif) file 1 and region 2 from raster file 2, and...<br>
For sure I will need to use raster-miscellaneous-merge.<br>
<br>
My question is related to the pre-processing of the input raster files.<br>
- The 12 raster files all have the same coordinate system.<br>
- The raster files are fully overlapping (the entire country).<br>
- The region is not defined per se in the raster file, but in an additional<br>
shape file (biogeo.shp).<br>
- For sure I can carry out some zonal statistics using raster and shape<br>
file, but to merge the regions I need all the pixels form a regions as input<br>
file for the merging process. This process is more than just selecting<br>
regions or cropping. Do you have any suggestions?<br>
<br>
Kind regards<br>
Sibylle<br>
<br>
_______________________________________________<br>
QGIS-User mailing list<br>
QGIS-User@lists.osgeo.org<br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div>
</span></font></div>
</body>
</html>