[Qgis-user] Different behaviour Raster Calculater under Raster menu vs Processing Toolbox
Janneke van Dijk
janneke.qgis at gmail.com
Fri Jan 11 01:42:26 PST 2019
Dear all,
I'm testing the training manual (QGIS 3) and think I ran into a bug -
unless I am misunderstanding something. I am doing the following, QGIS
3.4.3 on Windows:
1. Processing>Raster terrain analysis>Aspect: use the
exercise_data\raster\SRTM\srtm_41_19.tif DEM as an input and use the
default settings (data from
https://github.com/qgis/QGIS-Training-Data/archive/v2.0.zip)
2. Processing>Raster analysis>Raster calculator: "Aspect at 1" <= 90 OR
"Aspect at 1">= 270 as expression, use the DEM layer for extents.
3. The resulting output gets created, but the information from provider
shows "STATISTICS_VALID_PERCENT=0" and it does not have min and max values
I have tried using a more simple expression likeĀ "Aspect at 1" > 90 with
the same result. Copying and pasting the expression in the Raster
calculator under the menu Raster works as expected (values of 0 and 1).
Using the Raster Calculator under Processing with another input layer
and similar expression worked.
So it seems that "something" when the aspect raster is created causes it
"not to work" with the raster calculator under processing, while it
still works with the RC under Raster.
Can anyone confirm this is a bug?
Thanks,
Janneke
More information about the Qgis-user
mailing list