Opened 13 years ago

Last modified 13 years ago

#3723 new bug

Transparency settings are not applied from *.qml

Reported by: dr Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Rasters Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

Open raster layer and try apply external *.qml style file. Transparency setting are not applied. Rasterfile and *.qml: gis-lab.info/share/DR/transparency.7z

Change History (5)

comment:2 by alexbruy, 13 years ago

Component: SymbologyRasters

comment:3 by aghisla, 13 years ago

What are the exact steps to reproduce the problem?

I can load the style file, and transparency is set to None (255). I can also modify the value in the Properties dialog, apply changes, save style in a new file, and upload the new style successfully. But I'm on Fedora, running r15724.

comment:4 by alexbruy, 13 years ago

Well, using attached sample after applying mcd45.qml to raster following pixels should be transparent: 0.000000, 9998.000000, 9999.000000, 900.000000, 10000.000000. But they are not transparent. There is only one entry in transparency table -2147483648.00 which is wrong and not used in raster at all.

Probably this is related with #3733

comment:5 by jef, 13 years ago

Must Fix for Release: YesNo
Note: See TracTickets for help on using tickets.