Binary Sum/Raster Overlay Analysis

1340
3
02-02-2017 12:58 AM
ElizabethRichley
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
JayantaPoddar
MVP Esteemed 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.



Think Location
0 Kudos
NeilAyres
MVP Alum

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.

JayantaPoddar
MVP Esteemed Contributor

Hmmm... Good Point



Think Location
0 Kudos