Binary Sum/Raster Overlay Analysis

975
3
02-02-2017 12:58 AM
Highlighted
New Contributor

I have 4 binary datasets which I want to Sum together to get raster showing the cumulative values across the area, i.e. where only one data set exists there will be a 1, where there are 2 the result will be 2, and so forth. I've tried do this using Raster Calculator to sum the rasters together, i've used fuzzy overlay, weighted overlay; all with the same result - a raster that just shows where all four datasets present a "1". Can any one help? 

0 Kudos
3 Replies
Highlighted
Honored Contributor

Maybe it's due to the 1-bit output Raster, which won't allow you to store any other value than 0 and 1.

Use Copy Raster to convert the 1-bit input Rasters to 4-bit/ 8-bit Rasters. Then use Raster Calculator to sum up the Rasters.

0 Kudos
Highlighted
MVP Frequent Contributor

It sounds like your binary raster has 1 or no data rather than 1's and zeros.

Try a con statement first like con(isnull(inRaster), 0, inRaster), which will replace nulls / no data with 0.

Then sum.

Highlighted
Honored Contributor

Hmmm... Good Point

0 Kudos