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

Making the Invalid Valid

Making the Invalid Valid

I could argue I'm doing that on multiple levels these days. Except I want to talk Geometry, QGIS, and Forks in the Road. I haven't done just a "QGIS Tech Post" in a while. I talk about it and training and generalities but hardly dive into the specifics. So here is a...

Training, Websites, and Life

Training, Websites, and Life

So back last year I started something and have just finished one small part of it: https://training.northrivergeographic.com The Intro to QGIS class has a new home and that new home has a lot of room for a lot of different things. Something like 12 years ago (or more...

The TN 911 Project – The Garage.

The TN 911 Project – The Garage.

I've been trying to write more as I get into this "New Life" thing since January. I'm not a developer. There was a time I did give it a go and it wasn't my thing. I can write small programs that scratch an itch but they aren't for mass consumption. I have found a...