[Qgis-user] Raster calculator

Alexandre Neto senhor.neto at gmail.com
Wed Oct 21 04:05:48 PDT 2015


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 at 1" >= 2) OR ("disclasras at 1" >= 3) OR ("sanitatras at 1" != 0))*100

Hope it helped

Alexandre Neto



Tsering W. Shawa <shawatw at princeton.edu> 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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151021/3f6b400b/attachment.html>


More information about the Qgis-user mailing list