How do I specify floating point output in Raster Calculator?

4209
3
Jump to solution
01-12-2015 02:31 PM
PamFroemke
New Contributor

I'm trying to create a floating point output raster with Raster Calculator in ArcMap 10.2.2. If I enter the equation: 0.99^[inputRaster], I get an integer raster as the output and all cells equal zero. The inputRaster has values from -900 to 33,000.

 

Thank you for your help!

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DarrenWiens2
MVP Honored Contributor

'^' means Boolean XOr in Map Algebra notation (see here for more), which is giving you the correct output - all zeroes because both 0.99 and your raster are 'True'. To raise something to an exponent, you want 0.99 ** "inputRaster"

View solution in original post

3 Replies
DarrenWiens2
MVP Honored Contributor

'^' means Boolean XOr in Map Algebra notation (see here for more), which is giving you the correct output - all zeroes because both 0.99 and your raster are 'True'. To raise something to an exponent, you want 0.99 ** "inputRaster"

PamFroemke
New Contributor

Oh gosh, thank you! I couldn't find that info anywhere. In too much of a hurry!

0 Kudos
curtvprice
MVP Esteemed Contributor

10.2: Map Algebra Operators

10.3: Map Algebra Operators

The 10.3 help is going to take some getting used to!