Hi Andreas,
If you use gdalwarp rather than gdal_merge you could use the -srcnodata
and -dstnodata flags to change the null value:
gdalwarp in-01.tif in-02.tif outimage.tif -srcnodata 0 -dstnodata 255
This assumes the nodata in all the input images are the identical (0, or
black).
Since
Thanks for having a look at my problem. I am adding more information:
I am merging a number of rgb tiff files (scanned city maps), but they
don't align perfectly at the outer edges. This means that on the edges of
the resulting output file, where the tiff files don't align, I get borders
with nod
Andreas Neumann wrote:
Hi,
I am using gdal_merge to merge different rasters. The problem is that the
nodata values appear as black and I want to have them white.
Is there an option to set nodata values to white with gdal_merge? Or would
I have to do this as a postprocessing?
The problem is tha
Hi,
I am using gdal_merge to merge different rasters. The problem is that the
nodata values appear as black and I want to have them white.
Is there an option to set nodata values to white with gdal_merge? Or would
I have to do this as a postprocessing?
The problem is that the images are too larg