Float tool in the SA math toolset
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z0000008w000000.htm
or Float in the raster calculator
or "inraster" * 1.0
I finally found out the way I imagine ESRI wants you to work. Using a regular integer raster, I could join it to a dbf-table with one column containing integers corresponding to the raster classes and a whole bunch of extra columns (for example floating points) corresponding to other attributes. I could then use the Spatial Analyst tool "Look up" where you simply chose which column you want to use and then produce and output raster with a single click 🙂
Best regards,
/Andreas
Thanks for the tip that i'm looking for.
The output raster i have got is floating type indeed though in the help file, ESRI states that it always be the integer type. That makes me confused .
You could use Float in conjunction with Con in the raster calculator and get your desired result in a single step. Good ol' raster algebra.
Here is an example using a 4 value integer (21, 41, 42, 43) raster that results in a float with the values of 1.0, 2.0, 3.0, 4.0.
Float(Con("nlcd" == 21, 1.0, Con("nlcd" == 41, 2.0, Con("nlcd" == 42, 3.0, Con("nlcd" == 43, 4.0, 0.0)))))
The 0.0 value at the end represents the value that is assigned to values in the integer raster that are not accounted for in the Con statement (the "else" clause). So, if I had an integer raster with the values "0, 5, 21, 41, 42, 43" that I applied the above statement to, the 0 and 5 would be assigned a value of 0.