Open mrgloom opened 6 years ago
Use gdal_calc.py script to change default nodata values in raster. Consider that if the expression in parenthesis returns a boolean value, so you can use it like "if ... else ..." condition. For exp: <<<gdal_calc.py -A input.tif --outfile=output.tif --calc="(A>-350)*A" --NoDataValue=0.000 --co=COMPRESS=DEFLATE --co=PREDICTOR=3>>>
For now I have DEM.tif with
-350
value user for novalue and I need to perform preprocessing of DEM.tif by setting this values to0
before tiling it with ctb, is there any way to specify novalue? maybe by gdal or by ctb itself?