Solved! Go to Solution.
How do I grab the row value that are in inRaster1 and inRaster2 from inside the loop ?
I want to do something like: if (inRaster=1 and inRaster2=8): new.row.value="area under development"
from arcpy.sa import *
inRaster1 = "e:\\work\\myraster1.tif"
inRaster2 = "e:\\work\\myraster2.tif"
outRaster = Con(inRaster1 == 1 and inRaster2 == 8,1)
outRaster.save("e:\\work\\new_area")