2

I have two raster files and I want to merge them in QGIS. The first raster has values between 0 to 8627 and the second one has 0 to 9118. However, when I do it with the Merge tool (in GDAL/raster miscellaneous) new raster's values are between 0 to 9,260. Somehow, it is rescaled or some raster values are combined. When I checked the map, only one raster is rescaled but the other one stayed as original.

Do you have any suggestions? here is the tools parameters

3
  • I dont change any parameters actually. I have added an image to the question about parameters.
    – Gencergis
    Commented Jul 2, 2023 at 8:57
  • 1
    If you are just looking at the min/max values in layer legends in the QGIS Layers tab, your original max values (8627 and 9118) are likely estimated, not actual max.
    – user2856
    Commented Jul 2, 2023 at 9:03
  • Oh yes, I change them via Symbology>Min Max Values Settings>Accuracy>Actual(slower) So there was no problem, just the max min values were poorly estimated.
    – Gencergis
    Commented Jul 2, 2023 at 9:10

1 Answer 1

5

By default, QGIS shows estimated min and max values in the layer legend (faster). To see the actual values, in the raster layer properties, symbology tab, change "Accuracy" from "Estimate (faster)" to "Actual (slower)".

enter image description here

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