Monday, 30 March 2015

How to display NoData of a raster in QGIS


How can I show raster pixels with NoData value in QGIS?


In ArcMap there is a button to choose the color for the NoData value. Is there something like this in QGIS?


enter image description here



Answer




You can display raster NoDataValue in LayerProperties / Transparency tab by unchecking the "No data value" checkbox and "adding values manually" to the "transparent pixel list" table (green plus sign). After adding a value one need to change the "Percent Transparent" column to zero. After Applying this you can see the padded values as black.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...