1gdal_merge(1) General Commands Manual gdal_merge(1)
2
3
4
6 gdal_merge - .TH "gdal_merge" 1 "Fri Apr 22 2011" "GDAL"
7
9 gdal_merge - mosaics a set of images
10
12 gdal_merge.py [-o out_filename] [-of out_format] [-co NAME=VALUE]*
13 [-ps pixelsize_x pixelsize_y] [-separate] [-v] [-pct]
14 [-ul_lr ulx uly lrx lry] [-n nodata_value] [-init "value [value...]"]
15 [-ot datatype] [-createonly] input_files
16
18 This utility will automatically mosaic a set of images. All the images
19 must be in the same coordinate system and have a matching number of
20 bands, but they may be overlapping, and at different resolutions. In
21 areas of overlap, the last image will be copied over earlier ones.
22
23 -o out_filename:
24 The name of the output file, which will be created if it does not
25 already exist (defaults to 'out.tif').
26
27 -of format:
28 Output format, defaults to GeoTIFF (GTiff).
29
30 -co NAME=VALUE:
31 Creation option for output file. Multiple options can be specified.
32
33 -ot datatype:
34 Force the output image bands to have a specific type. Use type
35 names (ie. Byte, Int16,...)
36
37 -ps pixelsize_x pixelsize_y:
38 Pixel size to be used for the output file. If not specified the
39 resolution of the first input file will be used.
40
41 -ul_lr ulx uly lrx lry:
42 The extents of the output file. If not specified the aggregate
43 extents of all input files will be used.
44
45
46
47 -v:
48 Generate verbose output of mosaicing operations as they are done.
49
50 -separate:
51 Place each input file into a separate stacked band.
52
53 -pct:
54 Grab a pseudocolor table from the first input image, and use it for
55 the output. Merging pseudocolored images this way assumes that all
56 input files use the same color table.
57
58 -n nodata_value:
59 Ignore pixels from files being merged in with this pixel value.
60
61 -init value:
62 Pre-initialize the output image bands with these values. However,
63 it is not marked as the nodata value in the output file. If only
64 one value is given, the same value is used in all the bands.
65
66 -createonly:
67 The output file is created (and potentially pre-initialized) but no
68 input image data is copied into it.
69
70 NOTE: gdal_merge.py is a Python script, and will only work if GDAL was
71 built with Python support.
72
74 Frank Warmerdam <warmerdam@pobox.com>, Silke Reimer
75 <silke@intevation.de>
76
77
78
79GDAL Fri Apr 22 2011 gdal_merge(1)