QGIS 3.30: RAT

May 5, 2023 | Imagery, QGIS

I’m behind. I feel like Raster Attribute Tables have been a thing and I’ve not had to use them so I just ignore it. After doing a bit of digging it looks like this has been a thing in QGIS and ESRI Software since about 2018/2019.

I grabbed the National Landcover Dataset for the US and did some poking. This is a ERDAS img file. If I right click the layer I can open the Attribute Table.

I can “reclassify” their values. I can add more fields. I’m old. This is weird.

From here according to the Changelog:

  • Automatic raster styling: If a RAT is available when adding a raster to the project and includes style information, QGIS will apply the relevant styles to the raster layer by default. Automatic loading works for both embedded RATs and sidecar VAT.DBF with same basename of the raster.
  • RAT reclassification: Reclassification of a raster can be performed by selecting a different column
  • RAT Identify: Values from the RAT row corresponding to the relevant pixel value are shown in the identify Map Tool
  • RAT properties: A new “Attribute Table” tab is available from the raster layers property window
  • RAT editing: RATs offer basic editing capabilities
  • RAT creation from current classification: RATs can be created from existing paletted or singleband pseudocolor styles

Read up on the Changelog!

You may also like

Watershed GIS Part 1

Watershed GIS Part 1

I typically spend June wondering about what I'm doing, have done, and need to do work wise. One thing I keep thinking about is "the old days". By old days I mean the start of my career which was doing a lot of Watershed Mapping. Back in the mid 90's we would be...

Mergin Maps Training Class

Mergin Maps Training Class

I had a boss that would always start off with "So the Short story is...." and you'd be stuck for at least 30 minutes and maybe an hour listening to a story that didn't go anywhere. So the short story on the Mergin Maps Class.......... NRGS is a Mergin Maps partner. A...

Unintended Joy

Unintended Joy

I was originally going to call this unintended consequences but - there was a small amount of joy at the end. In Tennessee you have 6 layers that are required by the NG 911 group. So you end up with a lot of information depending on the county being poured into the...