Quantcast
Viewing latest article 1
Browse Latest Browse All 190

QGIS graphical modeler and raster calculator

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

Image may be NSFW.
Clik here to view.
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).

Image may be NSFW.
Clik here to view.
enter image description here

Now, I want to do this in raster calculator:

Image may be NSFW.
Clik here to view.
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:

Image may be NSFW.
Clik here to view.
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:

Image may be NSFW.
Clik here to view.
enter image description here

Image may be NSFW.
Clik here to view.
enter image description here

Image may be NSFW.
Clik here to view.
enter image description here


Viewing latest article 1
Browse Latest Browse All 190

Trending Articles



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