AnsweredAssumed Answered

Maintaining decimals in a raster and building a raster attribute table

Question asked by PECamp on Jun 12, 2015
Latest reply on Jun 12, 2015 by Dan_Patterson

Hi,

 

I have a population dataset raster I created from a point to raster conversion.   I need to run some analysis on it and need a raster attribute table. I would also like to keep the accuracy of my data, as it contains decimals.

 

I understand that I cannot create a raster attribute table with a 32 bit floating point raster.  I tried a work around by multiplying by 100 to get integers (while maintaining my true numbers), however, I keep on getting errors in my raster calculator:

 

File "<string>", line 8, in rcexec

AttributeError: 'str' object has no attribute 'save'

 

 

Failed to execute (RasterCalculator).

 

This has been a wall.  Any help with building a raster attribute table with decimals and/or fixing this error in raster calculator?  Note: I cannot simply use the integer tool as I lose too much information.

 

Thanks,

 

Phil

(Not a primary GIS person)

Outcomes