[GIS] Specifying field in attribute table with raster calculator using ArcMap

arcgis-10.2arcgis-desktoparcmapraster-calculatorspatial-analyst

How can I specify the attribute field to use in the raster calculator of ArcMap 10.2?

In 9.x, I used the dot notation.

i.e. To use the "New_Value" field, I could do the following:

[MyRaster].New_Value + 1 = new raster

This doesn't appear to work in 10.2?

Best Answer

While researching to write an answer to Cause of ArcGIS Raster Calculator Parsing error <type 'exceptions.SyntaxError'>: invalid syntax?, I found Raster Calculator trouble that states dot notation doesn't work in Raster Calculator beginning with 10.0. The forum post suggests using Lookup to create a separate raster from the second field. It also suggests this can be accomplished in the Raster Calculator by using:

Lookup("rastername","fieldname")
Related Question