[GIS] How to create the attribute table for a raster that was produced by the Slope Tool (ArcGIS10)

arcgis-10.0arcgis-desktoprasterslopespatial-analyst

I use the Slope Tool (Spatial Analyst Tool – Surface) of ArcGIS10 by ASTER GDEM (that was exported to UTM projection).
The program produce new raster (with slope value), but the resulting raster doesn’t have the attribute table (it has it in inactive form). But it’s possible to create a map from this raster by slope value, it’s possible to represent each pixel of the secondary raster in its unique value, but impossible to open the attribute table.

The same problem has the Aspect Tool (Spatial Analyst Tool – Surface), maybe some others.
Also I can’t convert this raster to a polygon, because Raster to Polygon Tool doesn’t see it as a raster.

How I can make the attribute table of the resulting raster active?

Best Answer

I am with @whuber in that you should have a very good reason to do this and not just because you feel like you need an attribute table. Most operations can be accomplished on a floating point raster. Following the advice of a straight conversion to an integer raster, the data is truncated or rounded, and you can introduce serious issues such as contour bias.

That said, you can get to an attribute table and keep precision by multiplying by a constant (eg.. 100) and then coercing to an integer raster.

In ArcGIS 10.2 raster calculator this can be done in one fell swoop.

Int( ("slope" * 100) ) 

By using a constant, you can coerce back to a floating point raster by reversing the process.

Float( ("slope" / 100) )