[GIS] Change No Data Value Geotif File with Qgis or Gdal

gdalgeotiff-tiffqgisraster

I have a little question for Change No Data Value Geotiff File with Qgis or Gdal by another value. Usually one imports or exports a file with no data value -9999, but sometimes we need to change that number for another on raster calculator the expression != but it seems not to work with No data value
any idea


Nice discussion, Carlos but at same Kurt this option is for a range of data.
I was user syntax band math of ENVI and I thought to apply something like this on
Raster Calculator

( "MCD10A1_2018266@1" != -9999) * -8888 AND  ( "MCD10A1_2018266@1" >=  0 )  * "MCD10A1_2018266@1"

But I do not understand does not work!!

Best Answer

Another possibility

You could to use this tool Menu >> Raster >> Conversion >> Translate (convert format)

And assign the new value to no-data values,

enter image description here