Quantcast
Channel: Active questions tagged raster-calculator - Geographic Information Systems Stack Exchange
Viewing all articles
Browse latest Browse all 202

QGIS graphical modeler and raster calculator

$
0
0

I'm making a graphical modeler that creates me a kind of DSM, like that:

enter image description here

  1. I create a DEM for my extent (I have the DEM for my whole country).
  2. I have the Lidar for the height of the forest and I extract it formy extent.
  3. I also have a polygon that I rasterized. It is where theforest should be cut off (1/0 meaning yes/no).

As you can see, everything works fine. I have my raster layers (same CRS, same resolution, same extent).

enter image description here

Now, I want to do this in raster calculator:

enter image description here

So in words, it means if the forest is cut (No forest =1) then the value is DEM, and if the forest is not cut then the value is DEM+Lidar forest.

The problem is, I always have this error:

enter image description here

Impossible to load the source layer for INPUT_A: invalid valueError during raster calculator execution

I use QGIS 3.22

But as you can see, my modeler produises the 3 rasters (temporary files) without any problem:

enter image description here

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>