Bug report #5730

Trasparent pixels list turns NULLs into "0"

Added by Giovanni Manghi almost 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Rasters
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:15243

Description

Take a rasters with NULLS (example http://www.faunalia.pt/downloads/declives_pttm06.tar.gz )

with the greyscale colormap is all OK.

Give it a different colormap and the NULLs will be given a colour (not handy).

Then enter the raster properties and in the trasparent pixel list use the "add values from display" tool to pick the NULLs and turn them trasparent -> the NULLs will turn to "0" and so the "0" pixels will become transparent instead of the NULLs ones.

This was observed on both master and 1.7.4

History

#1 Updated by stefano campus almost 12 years ago

in my experience, the only solution is to reclassify no data values to -99999.
in this case all works fine and transparency is mantained.

#2 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#3 Updated by Giovanni Manghi over 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Solved in master.

Also available in: Atom PDF