GDAL_MERGE(1) GDAL GDAL_MERGE(1) (NAME) gdal_merge - . (SYNOPSIS) gdal_merge [--help] [--help-general] [-o ] [-of ] [-co =]... [-ps ] [-tap] [-separate] [-q] [-v] [-pct] [-ul_lr ] [-init "[ ]..."] [-n ] [-a_nodata ] [-ot ] [-createonly] []... (DESCRIPTION) . . . nodata/ (transparency) nodata/ nodata/ . : gdal_merge GDAL . : "gdal": gdal raster mosaic . --help . --help-general GDAL . -o (: "out.tif"). -of . . . -co = . GeoTIFF (tiled) . . --format . Raster drivers . -ot : Byte Int8 UInt16 Int16 UInt32 Int32 UInt64 Int64 Float32 Float64 CInt16 CInt32 CFloat32 CFloat64. -ps . . -tap ( - target aligned pixels) -tr . xmin / resx ymin / resy xmax / resx ymax / resy . -ul_lr . . -q, -quiet . -v (verbose) . -separate . -pct (pseudo-color) . . -n . -a_nodata nodata . -init <"value(s)"> . nodata . . -createonly ( ) . (EXIT STATUS) 0 ( ). (EXAMPLES) : 255 gdal_merge -init 255 -o out.tif in1.tif in2.tif : RGB gdal_merge -init "0 0 255" -o out.tif in1.tif in2.tif 0 255 . : gdal_merge ls -1 *.tif > tiff_list.txt : dir /b /s *.tif > tiff_list.txt gdal_merge . --optfile gdal_merge : gdal_merge -o mosaic.tif --optfile tiff_list.txt : RGB << >> (merging by stacking) -separate . : gdal_merge -separate 1.tif 2.tif 3.tif -o rgb.tif 1.tif 2.tif 3.tif . : . nodata -n . gdal_merge -o merge.tif -n 0 image1.tif image2.tif image3.tif image4.tif (AUTHORS) Frank Warmerdam , Silke Reimer (COPYRIGHT) 1998-2026 August 18, 2026 GDAL_MERGE(1)