4

I need to merge 3 rasters into one, each raster is single banded and ranges from 0 to 1. The rasters overlap at some places. Below is how each raster looks like and how the output should look like using Raster Calculator or merged, however the result using syntax rastr1 * raster2* raster3 is that the output raster values ranges from 0 to 0 and the merge tools do not correct the output either.

I am using QGIS 3.8.

Raster1 Raster2 Raster3 merged

15
  • Have you tried raster1 + raster 2 + raster 3?
    – Erik
    Commented Sep 4, 2019 at 12:58
  • Yes, the result is not satisfying.
    – Petr
    Commented Sep 4, 2019 at 12:59
  • 2
    @Petr - Did you try using the Build Virtual Raster tool?
    – Joseph
    Commented Sep 4, 2019 at 13:02
  • 1
    It would help if you provided a little more clarity on what you're trying to achieve. Do you simply want to make a binary raster that is "1" wherever there was data in any of the rasters, or do you want to somehow retain the original raster values from each?
    – Jon
    Commented Sep 4, 2019 at 16:40
  • @Joseph I tried that tool but the result is not satisfying.
    – Petr
    Commented Sep 5, 2019 at 6:18

1 Answer 1

1

The "error" was that the min max value was just "estimate" and not actual, and as the max value of original raster was just above 0.1 (0.010298) the setting of symbology of the layer (it was estimated) was defined in way that it was not showing the last cathegory (the 4th one) thats why I was missing all the time the last cathegory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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