I am trying to perform a simple raster calculation on an elevation layer to occlude certain values. I have used the following expression:
( ( "clipped_elev@1">500) AND ("clipped_elev@1"<1000))*"clipped_elev@1"
On QGIS 3.8.0 and after the update to 3.8.1 I get pixels with either 0 or 1 which is not the expected result. I tried the raster calculator from both the Raster menu and from processing. I tried the same expression on the LTR version and got the expected raster result.
Has the syntax for the raster calculator change in 3.8 or is this a bug that needs to be reported?