[gdal-dev] gdal_merge.py
Even Rouault
even.rouault at spatialys.com
Wed Mar 28 06:26:53 PDT 2018
On lundi 12 mars 2018 05:55:10 CEST Ian Reese wrote:
> No matter which variation of merge I run, those regions that once contained
> 'nodata' or '-9999' are converted to '0' and the nodata value is not
> retained after the merge. When I load the test_merge_wnodata.tif into
> QGIS, those regions once containing 'nodata', are now filled with 0 and
> rendered as such.
gdal_merge.py -n -9999 -a_nodata -9999 -o test_merge_wnodata.tif *.tif
or even
gdal_merge.py -a_nodata -9999 -o test_merge_wnodata.tif *.tif
work fine for me with recent enough GDAL (2.2)
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list