Bug report #6187
Raster disappears when bands change
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15501|
1. Add http://gis-lab.info/forum/download/file.php?id=4783 --> All fine
2. Go to raster properties, switch any band to another one. --> Raster turns into solid color rectangle and it is impossible to restore its visibility, even by going back to previous band combination.
Tried on 4 different machines with Win7, 64bit, 32bit, revs. 829f672, ad6c964
#3 Updated by Maxim Dubinin over 8 years ago
How can a raster be buggy? ;)
Yes, it seems that the problem is in how QGIS handles rasters that are not georeferenced, but do have some GCPs (see attached example).
I believe QGIS should work correctly with those as well. This raster was obtained from distributor of remote sensing data. I think it is common. If you do gdalwarp before opening it will work fine.