Hello Wangyal,

There are OR and AND operator in the raster calculator. Try putting a
curved brackets around the expression.

In the following expression the cell will receive the value 100 if
incomras >= 2
or
disclasras >= 3
or
sanitatras != 0

(("incomras@1" >= 2) OR ("disclasras@1" >= 3) OR ("sanitatras@1" != 0))*100

Hope it helped

Alexandre Neto



Tsering W. Shawa <[email protected]> escreveu no dia ter, 20/10/2015 às
15:38:

> When I try to run CombinatorialOR expression in raster calculator in QGIS
> I get "Expression invalid" message. Is this function not available in QGIS
> raster calculator? Is there any option to run this expression in GRASS or
> SAGA? Any suggestions or help will be appreciated.
>
> Thanks,
> -Wangyal
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to