-
-
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
Problems with raster transparency #15319
Comments
Author Name: Giovanni Manghi (@gioman) On what QGIS version? Now that the resampling branch has been merged the tests and notes/tickets should be based on qgis-master. Cheers! |
Author Name: Benoit de Cabissole (Benoit de Cabissole) From OSGeo4W Quantum QGIS 1.9.0-master, QGIS code revision: 02b1324. |
Author Name: Benoit de Cabissole (Benoit de Cabissole) Just to add an oddity for point (3) above. Preamble: The oddity: |
Author Name: Giovanni Manghi (@gioman) Benoit de Cabissole wrote:
this used to work ok in qgis 1.7.4 (and works fine in 1.8?)? if yes then assign this ticket to Marco H., this can be a consequence of the merge of the "resampling" branch.
|
Author Name: Benoit de Cabissole (Benoit de Cabissole) Yes, it works fine on 1.8 (only tested on one of the rasters I have problems with in 1.9).
|
Author Name: Marco Hugentobler (@mhugent) Is this still the case with latest master? |
Author Name: Marco Hugentobler (@mhugent) Fixed in master branch. Please reopen the ticket if there are still issues.
|
Author Name: Benoit de Cabissole (Benoit de Cabissole)
Original Redmine Issue: 5850
Affected QGIS version: master
Redmine category:rasters
Assignee: Marco Hugentobler
A 1-band (GDT_Float32 - Thirty two bit floating point) GeoTIFF raster file is rendered as 'singleband gray'.
(1) In the 'Transparency' tab of raster properties there is a button called 'Default values'.
Click on that button. This results in the table header to be filled with "red, green, blue, Percent transparent" instead of "Gray, Percent transparent".
Close the properties window and open it again, the correct header is then displayed.
(2) Same raster, same wrong table header after clicking 'Default values'. Now type in a RBG colour code to set it transparent: 128, 128, 128, 100 (it is a grey shade after all).
After clicking on 'Apply' the green component changes to 0 (128, 0, 128, 100) and there is no effect on the displayed raster.
(3) The min/max values of the raster are: -0.5984/0.9996 respectively and the no-data-value is -9999.0
There is no way to make the no-data-value transparent and to display the raster in greyscale. The no-data-value is always displayed in black and the raster in uniform grey, whatever the 'Contrast enhancement' used (BTW, the 'Load min/-max values' is set to 'Actual (slower)' and the 'Load' button is clicked to load the correct min/max values).
Very similar to Bug #15317.
The text was updated successfully, but these errors were encountered: