IF there are one or two urban cells in the Moore neighbourhood AND there is a road running through this cell.
How do I add this rule in my raster calculater?
IF there are one or two urban cells in the Moore neighbourhood AND there is a road running through this cell.
How do I add this rule in my raster calculater?
The general workflow would be:
In raster calculator, use a statement like:
Con((urbansum == 1 or urbansum == 2) & roadraster, 1)