Feature request #9043

"No data" in multi-band data

Added by Jonathan Moules over 6 years ago. Updated almost 3 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Rasters
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:17697

Description

I'm going to put this as a "feature request" though it might be considered a bug.

I have three band raster data. On the "transparency" page I've set "0" to be "no data". The problem is, if even one of the three bands has a "0", QGIS renders the entire pixel as being "no data". As such I get entire fields filled with "no data" speckles because a single band (red) is often 0.

I'd suggest allowing the user to set "no data" on a per-band basis or requiring that all symbolised pixels be no data before rendering as no-data.

History

#1 Updated by Martin Dobias almost 6 years ago

Isn't it sufficient to setup custom transparency pixel list in the Transparency tab? It is possible to choose which colors (R,G,B) should be transparent.

#2 Updated by Jonathan Moules almost 6 years ago

I didn't know about that. But seeing it now, what's the point of having the "no data value" option at all?

#3 Updated by Etienne Tourigny almost 6 years ago

Individual raster bands have a nodata value, so it's a simple way to mask them.

#4 Updated by Paolo Cavallini over 5 years ago

  • Category set to Rasters

#5 Updated by Giovanni Manghi almost 3 years ago

  • Easy fix? set to No

Also available in: Atom PDF