-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
After selecting a specific band in raster properties, the dropdown in the style tab reverts always to "band1" #14118
Comments
Author Name: Thaddeus - (Thaddeus -)
|
Author Name: Thaddeus - (Thaddeus -)
|
Author Name: Thaddeus - (Thaddeus -)
|
Author Name: Goyo D (Goyo D) Confirmed in 1.8.0-trunk (Ubuntu Natty).
|
Author Name: Bill Clay (Bill Clay) Here is a fix. I apologize, but it was easier to fix the bug than for this git virgin to figure out how to make git create a patch file (even after reading the QGIS coding document). Guess it's time for me to graduate from SVN. Sorry!
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Bill Clay (Bill Clay) The above one-line patch does NOT report the selected band information in metadata as Thaddeus, the original reporter, requested. It does, however, show the (correctly-remembered) selected band in the raster layer properties dialog, style tab, gray band field for single-band gray layers. |
Author Name: Giovanni Manghi (@gioman) Hi Thaddeus, I can confirm the issue. Nevertheless I found not very handy to have many notes/feature_requests/described_issues embedded in the QGIS project you attached to this ticket. Please open proper tickets (one for each issue/feature request), describing everything in the "description" field, and attaching screenshot/sample data just to allow understand better the issue. Tim: the issue is confirmed, while setting the raster to "single band" and selecting one the bands, in the raster properties it reverts always to "band1" (but QGIS is actually rendering a different band, the one selected before by the user). If the attached patch works I suggest to commit it ASAP. I confirmed the issue on qgis-trunk on Ubuntu. Thaddeus, about the other issues you have described with annotations in the attached qgis project:
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Thaddeus - (Thaddeus -) Hi Giovanni, sorry about the confusion: all the notes and comments on the QGIS canvas screenshot were mainly taking notes for myself, I'm pretty sure I made bug reports for most/each of those issues, but, for some reason, they do not show on my Redmine profile --may have been reported before Redmine era. Please see: Bug #13526, Feature #14124, Feature #14125, Bug #13088 (duplicate of #13508). Bug #13526 Extremely Bloated PDF Vector Export under Win. Feature #14124 New Feature: show Raster Band number on Layer Panel entries. Feature #14125 New Feature: expose map scale to SQL queries (under "Layer Properties"). Bug #13088 Displacement between vector and WMS layers after printing |
Author Name: Alister Hood (@AlisterH) Is there any reason Bill's patch can't be applied? |
Author Name: Giovanni Manghi (@gioman) Alister Hood wrote:
I agree, and the bug is really annoying. :) |
Author Name: Thaddeus - (Thaddeus -) What's the target version ? I just tried 1.7.2 and still forgets the raster band selection. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) This is still confirmed on master and very annoying. Can someone review the patch and apply it?
|
Author Name: Alexander Bruy (@alexbruy) Fixed in changeset "a6df30c99fd9520a96fa3e8bbed2d78a22e327e3".
|
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Thaddeus - (Thaddeus -)
Original Redmine Issue: 4138
Affected QGIS version: master
Redmine category:rasters
QGIS 1.7.0 Wroclaw under Win.
Very tricky: cannot tell which of the many bands on a given layer is being displayed: cannot find any icon/name/info anywhere except under "Layer -> Properties -> Style, Single band properties" which shows the wrong band, always "Band 1" and sneakily modifies user chosen Band to always be "Band 1" if pressing OK/Apply, even when using other tabs like "Metadata".
The text was updated successfully, but these errors were encountered: