AnsweredAssumed Answered

Con statement with raster calculator

Question asked by ttamba on Feb 27, 2015
Latest reply on Mar 19, 2015 by ttamba

Hi all,


I would like to know if there is a way to perform a conditional raster calculation between two layers A and B.

I would like to have the following conditions:

If (inRastA <= 43) (condition 1) and (inRastB> = 42) (condition2) and (inRastA+inRastB <= 85) (condition3), then the result is (ouRast = 86), otherwise (inRastA+inRastB).


How can I write this statement within the Raster Calculator?


Below the same example written in Excel


=IF(And(A1<=43; B1>=42; O1<=85);86;O1+B1)