Hi,
I am working on a project and i am writing my scripts in python. However, i am experiencing an obstacle that might make me quit this project for good. Here is is the problem. I want to perform a if else condition on two raster layers that have constant values across all there grid. Initially, i create two raster layers, each with a constant value within each cell. However, when i perform a loop on these two raster layers, one of them at the end will have cells with different values and i need to loop in again to compare it with the other raster with a constant value. I tried using the "Con" tool but things have not worked at all. Any clues please?
Solved! Go to Solution.
If I understand the problem correctly I would do the following:
Have a look at the COMBINE tool and decide if this will do the job.
-Steve
Steve Lynch, thanks for hinting out this tool. i didn't know about it!! Unfortunately, it could do my job as i wanted. I will use it when generating for table of stream orders, flow accumulation and analysis of other four parameters that I am looking at. Thanks a lot!!