In PCI Geomatic, I have two raster layer.raster1 identified like %1 and raster2 like %2.
if (%1 <= 10) then
%2 = 60
elseif (%1 > 10 and %1 <=50) then
%2=80
elseif (%1 > 50 and %1 <=90) then
%2=120
else
%2=0
endif
Please, How can I do this in QGIS?