I have a raster which has a single band containing what is effectively a lookup code. When I open the raster in ArcMap and open the attribute table I can see several fields which I guess come from the accompanying .vat.dbf
file. There is also a .csv
file for looking up the field values.
I want to output a multiband raster where the bands are formed from a selection of the fields found in the input raster. So effectively converting some of the fields to bands.
I know that this could be achieved by first creating serval single-band rasters using the Lookup
function inside the RasterCalculator to extract each required field and the use the Composite Bands tool to produce the desired output. However, the dataset is fairly large so this would take too long, can anyone suggest a more efficient way?
Any solution using GDAL, GRASS, QGIS or ArcGIS (with SA Extension) is welcome.