Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raster disappears when bands change #15501

Closed
qgib opened this issue Aug 12, 2012 · 7 comments
Closed

Raster disappears when bands change #15501

qgib opened this issue Aug 12, 2012 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Aug 12, 2012

Author Name: Maxim Dubinin (@simgislab)
Original Redmine Issue: 6187
Affected QGIS version: master
Redmine category:rasters


  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

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2012

Author Name: Alexander Bruy (@alexbruy)


Seems your raster is buggy. With any another multiband file all works

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2012

Author Name: Alexander Bruy (@alexbruy)


This raster works after decomposing to separate bands and then merging them into single file.

@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2012

Author Name: Maxim Dubinin (@simgislab)


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.

@qgib
Copy link
Contributor Author

qgib commented Jun 21, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Rasters

@qgib
Copy link
Contributor Author

qgib commented Jun 28, 2014

Author Name: Jürgen Fischer (@jef-n)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Lower Priority

@qgib
Copy link
Contributor Author

qgib commented Dec 13, 2015

Author Name: Médéric RIBREUX (Médéric RIBREUX)


Hello, bug triage...

I can't reproduce this bug on QGIS 2.13 master (should be the same with QGIS 2.12.1).

Can you confirm ?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Dec 30, 2015

Author Name: Giovanni Manghi (@gioman)


closing as it seems fixed and for the lack of feedback, please reopen if necessary.


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant