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")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.