Bug report #21505
Raster Symbology, Paletted/Unique values not respecting selected band
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | 3.6.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 29322 |
Description
I have a 4 band raster loaded into QGIS, under the layer Symbology I've chosen "Paletted/Unique values" and selected Band 3 to be the source of those values. Selecting classify with random colors, all the vales are represented correctly, however the actual raster is rendered based on Band 1, not based on the selected Band 3. I would expect selecting band 3 could cause it to use band 3 in the rendering.
Associated revisions
Fix paletted raster renderer does not respect correct band when rendering
Fixes #21505
Fix paletted raster renderer does not respect correct band when rendering
Fixes #21505
Fix paletted raster renderer does not respect correct band when rendering
Fixes #21505
Fix paletted raster renderer does not respect correct band when rendering
Fixes #21505
Fix paletted raster renderer does not respect correct band when rendering
Fixes #21505
History
#1 Updated by Andrew Harvey over 5 years ago
My workaround is to use `gdal_translate -b3` to pull out band 3 into a 1 band image and use that in QGIS.
#2 Updated by Nyall Dawson over 5 years ago
- Status changed from Open to In Progress
#3 Updated by Nyall Dawson over 5 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|12ba41750f8058a3f0a504515255cdbc180955b3.