Jamal432@gmail.com

(again): How to construct this IF Statement to obtain the value of the cell?

Discussion created by Jamal432@gmail.com on May 25, 2011
Latest reply on May 26, 2011 by Jamal432@gmail.com
(again): How to construct this IF Statement to obtain the value of the cell from 3 rasters?

please, see the attached image that shows my question

explanation:

the value of the cell in the result raster (donated by op) is obtained by the following if statement

----------------------------------------------------------------


if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 1 then op = .8
if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 2 then op = .6
if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 3 then op = .4

if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 1 then op = 1
if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 2 then op = .6
if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 3 then op = .4



if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 1 then op = .6
if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 2 then op = .4
if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 3 then op = .2


if [Type] = "FieldCrop-Shrub" and [FlowType] =  "TYPE E"  and [Slope] = 1 then op = .8
if [Type] = "FieldCrop-Shrub" and [FlowType] =  "TYPE E"  and [Slope] = 2 then op = .4
if [Type] = "FieldCrop-Shrub" and [FlowType] =  "TYPE E"  and [Slope] = 3 then op = .2

--------------------------------------------------------------------------------------------------------------

how can i obtained this value given the 3 rasters and all the combinations above?

how to construct such if statement to deal with these raster?

is there any tool in ArcGIS to perform this?

thank you

regards
Jamal

Attachments

Outcomes