Is there a way to set all the 0 value pixels on a raster to nodata using gdal or qgis?I world like to use fillnodata to fill some holes, but holes are set to 0,so I need to delete them first
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
Hi you could try somethign like this with gdal_translate gdal_translate -of GTiff -a_nodata 0 input.tif output.tif |
|||
|
|
|
with gdal:
beside this you can use raster calculator plugin or grass in qgis too. and arcpy SetNull method. i hope it helps you... |
|||
|
|