Hello all
I am trying to write a python program that will create a new raster by condition of two rasters.
I can do it with the con function like this:
res = arcpy.sa.Con((Raster1 == 0 & Raster2 == 0),1,0)
For the con function you need to create a Raster() before you can use it and then save the results.
From the other hand arcpy.gp.con_sa can get a path of tif as parameter and the final result name is parameter.
I could not find the way to put two rasters in the condition (it is usually "value == 0" of the raster in the new parameter.
Any ideas?