Bug report #15749
Processing: gdal merge converts no data in 0
|Affected QGIS version:||2.18.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23671|
gdal merge, as it is used in Processing, converts no data in 0
gdal_merge.py -ot Float32 -o -of GTiff OUTPUT1.tif OUTPUT2.tif
See sample input and output files: http://www.faunalia.eu/~paolo/merge_null.zip
Previously this did not happen, on the same files.
#4 Updated by Giovanni Manghi over 3 years ago
- Target version set to Version 3.0
- Status changed from Open to In Progress
gdalwarp manual states "The gdalwarp utility is an image mosaicing, reprojection and warping utility",
and in fact it works (to create mosaics) and is much more efficient than gdal_merge.py, not to speak richer of options, one of them the one to pick the nodata from inputs.
We will replace the gdal raster merging tool with gdalwarp then.