📄 gdal_merge.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>GDAL: gdal_merge.py</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.1 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div><h1><a class="anchor" name="gdal_merge">gdal_merge.py</a></h1>mosaics a set of images<p> Usage:<p><div class="fragment"><pre class="fragment">gdal_merge.py [-o out_filename] [-of out_format] [-co NAME=VALUE]* [-ps pixelsize_x pixelsize_y] [-separate] [-v] [-pct] [-ul_lr ulx uly lrx lry] [-n nodata_value] [-init value] [-ot datatype] [-createonly] input_files</pre></div><p>This utility will automatically mosaic a set of images. All the images must be in the same coordinate system and have a matching number of bands, but they may be overlapping, and at different resolutions.<p><dl><dt><b>-o</b> <em>out_filename</em>:</dt><dd>The name of the output file to be created. </dd><dt><b>-of</b> <em>format</em>:</dt><dd>Output format, defaults to GeoTIFF (GTiff). </dd><dt><b>-co</b> <em>NAME=VALUE</em>:</dt><dd>Creation option for output file. Multiple options can be specified. </dd><dt><b>-ot</b> <em>datatype</em>:</dt><dd>Force the output image bands to have a specific type. Use type names (ie. Byte, Int16,...) </dd><dt><b>-ps</b> <em>pixelsize_x pixelsize_y</em>:</dt><dd>Pixel size to be used for the output file. If not specified the resolution of the first input file will be used. </dd><dt><b>-ul_lr</b> <em>ulx uly lrx lry</em>:</dt><dd>The extents of the output file. If not specified the aggregate extents of all input files will be used. </dd><dt></dt><dd></dd><dt><b>-v</b>:</dt><dd>Generate verbose output of mosaicing operations as they are done. </dd><dt><b>-separate</b>:</dt><dd>Place each input file into a separate <em>stacked</em> band. </dd><dt><b>-pct</b>:</dt><dd>Grab a pseudocolor table from the first input image, and use it for the output. Merging pseudocolored images this way assumes that all input files use the same color table. </dd><dt><b>-n</b> <em>nodata_value</em>:</dt><dd>Ignore pixels from files being merged in with this pixel value. </dd><dt><b>-init</b> <em>value</em>:</dt><dd>Pre-initialize the output file with this value. However, it is not marked as the nodata value in the output file. </dd><dt><b>-createonly</b>:</dt><dd>The output file is created (and potentially pre-initialized) but no input image data is copied into it. </dd></dl><p>NOTE: gdal_merge.py is a Python script, and will only work if GDAL was built with Python support. <hr>Generated for GDAL by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1.</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -