5

What is the easiest way to convert cells with a value of 0 to NoData in QGIS Raster Calculator?

Dùn Caan
  • 1,294
  • 3
  • 12
  • 26

1 Answers1

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