Feature request #14449

Access to raster attribute tables

Added by Kurt Menke over 7 years ago. Updated over 6 years ago.

Assignee:Nathan Woodrow
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:22427


Many categorical raster datasets, such as those representing vegetation and landcover, have associated attribute tables. There are the usual value and count columns, but there are also often additional
fields that hold useful vegetation descriptions. These might include vegetation type, vegetation complex, landcover type etc. ERDAS Imagine raster files will have a .vat.dbf with these attributes.

It would be incredibly useful to be able to open this attribute table as you can with a vector dataset. Then queries could be run and the corresponding cells highlighted. Additional columns could be
added, and used to classify cells into new categories without having to do an r.recode or similar operation. For instance, you could assign weights this way, to prepare for site selection model.
Additionally, these attribute columns could be made available to style the raster via the Categorized or Rule based renderers. For example, a vegetation dataset could be brought in and styled by
the vegetation type attribute column. Or groups of vegetation/landcover types could be given a color with the Rule based renderer.

VegetationRaster.zip - An example .img categorical raster with associated attribute table (267 KB) Kurt Menke, 2016-03-09 09:15 AM

Related issues

Duplicated by QGIS Application - Feature request #18962: Raster attribute table Closed 2018-05-16
Duplicated by QGIS Application - Feature request #20512: Access to raster attribute tables Closed 2018-11-16


#1 Updated by shenriod - over 6 years ago

Related to #14845

#2 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No

#3 Updated by Alexander Bruy over 5 years ago

#4 Updated by Jürgen Fischer almost 5 years ago

Also available in: Atom PDF