I have to simulate urban Development, and have urban raster where urban=1, other =0. I made a "Focal statistic" on that with Moore neighbourhood and SUM. My first rule in my raster calulator is: IF there are three or more developed cells in the Moore neighbourhood of a cell THEN the cell is developed. I made a expression: Con("Focal_statistic" >=3,1,0) . That Works ok. Then I have a "roadraster", where road=1, others=0. My second rule is: IF there are one or two urban cells in the Moore neighbourhood AND there is a road running through this cell THEN the cell is developed. I wrote in my raster calculator: Con("Focal_statistic" >=3,1,0) & Con(("Focal _statistic" ==1 & "Focal statistic"==2) & "roadraster",1) But that dosn`t Work?
Hi from MJ