nmcarlozo

Raster Calculator gives only 0 or 1 values

Discussion created by nmcarlozo on Aug 9, 2011
Latest reply on Aug 23, 2011 by edi1511
I'm attempting to create a habitat suitability map using the following formula:

(ratser1 * raster2 * raster3 * raster4 * raster5 * raster6 * raster7 * raster8 * raster9 *raster10 * raster11 * raster12)^(1/12)

Raster calculator wouldn't allow decimals, so all raster cell values are between 0 and 100. First, I multiplied the rasters together and the product had a range of cell values. However, when I attempted to raise the cells to the 1/12th, the product had only 0s or 1s. I tried putting "float" before the formula, but that only resulted in a stretched scale bar and an img with values of only 0 or 1.

Does anyone know a way to get around the no decimal rule? Or perhaps I'm doing something else wrong?

Thanks,
nmc

Outcomes