Every time I use the extract by mask tool, the rasters that are created don't have an attribute table (i.e it's greyed out). Does anyone know what is causing this and why these rasters essentially no longer have any values associated with them? Is there a way to get around this issue? I am using ArcGIS for Desktop.
1 Answer
Since extract by mask creates an entirely new raster, I wouldn't necessarily expect it to preserve any attribute table associated with the original. The actual values of the new raster should be present and match the original. If using this tool (or similar tools which generate a new raster) you may need to use the Build Raster Attribute Table tool and then join/export or join field the original table to the new one. More information can be found in the help files for Raster dataset attribute tables.
As suggested at Preserve attribute table while using Extract by Mask in ArcGIS you might use the Clip tool under Raster Processing instead, which should do essentially the same thing and preserve the attributes. Note it may preserve all attribute values from the table, not just those present in the extracted/clipped area.