What is the easiest way to convert cells with a value of 0 to NoData in QGIS Raster Calculator?
Asked
Active
Viewed 1.6k times
5
-
1Yep didn't see this one, that answer works, but would be nice to be able to do it in raster calc. – Dùn Caan Jan 22 '16 at 10:38
1 Answers
6
I don't think it can be done with the raster calculator, but according to this answer, you can use GDAL's translate function (Raster > Conversion > Translate) to convert 0's to NoData (check the "No data" box and let the corresponding value to 0).
ArMoraer
- 5,649
- 2
- 26
- 48
-
-
Although seems odd there isn't an equivalent to arcmap raster calculator 'SetToNull', would be nice functionality – Dùn Caan Jan 22 '16 at 10:37