I'm using QGIS and I'm trying to calculate slope < 20% from a file I have but when I use the raster calculation SLOPE < 20 the result is all black. What am I doing wrong? The data is already in percent.
1 Answer
The result is all black because all values are 1. To get the true values you have to do (with the raster calculator nomenclature):
("SLOPE@1" < 20) * "SLOPE@1"
-
That will give you zero where the slope is greater than 20, and also zero where the slope is zero. I'm not sure that's what's wanted... Commented Nov 21, 2015 at 17:26