⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gdal_contour.html

📁 gdal库的学习文档
💻 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_contour</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&nbsp;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&nbsp;Pages</span></a></li>  </ul></div><h1><a class="anchor" name="gdal_contour">gdal_contour</a></h1>builds vector contour lines from a raster elevation model<p> Usage: <p><div class="fragment"><pre class="fragment">Usage: gdal_contour [-b &lt;band&gt;] [-a &lt;attribute_name&gt;] [-3d] [-inodata]                    [-snodata n] [-f &lt;formatname&gt;] [-i &lt;interval&gt;]                    [-off &lt;offset&gt;] [-fl &lt;level&gt; &lt;level&gt;...]                    &lt;src_filename&gt; &lt;dst_filename&gt; </pre></div><p>This program generates a vector contour file from the input raster elevation model (DEM).<p><dl><dt><b>-s_srs</b> <em>srs def</em>:</dt><dd>source spatial reference set. The coordinate systems that can be passed are anything supported by the OGRSpatialReference.SetFromUserInput() call, which includes EPSG PCS and GCSes (ie. EPSG:4296), PROJ.4 declarations (as above), or the name of a .prf file containing well known text. &lt;/dl<p></dd><dt><b>-b</b> <em>band</em>:</dt><dd>picks a particular band to get the DEM from. Defaults to band 1.<p></dd><dt><b>-a</b> <em>name</em>:</dt><dd>provides a name for the attribute in which to put the elevation. If not provided no elevation attribute is attached.  </dd><dt><b>-3d</b>: </dt><dd>Force production of 3D vectors instead of 2D. Includes elevation at every vertex.<p></dd><dt><b>-inodata</b>: </dt><dd>Ignore any nodata value implied in the dataset - treat all values as valid.<p></dd><dt><b>-snodata</b> <em>value</em>:</dt><dd>Input pixel value to treat as "nodata". <p></dd><dt><b>-f</b> <em>format</em>: </dt><dd>create output in a particular format, default is shapefiles.<p></dd><dt><b>-i</b> <em>interval</em>:</dt><dd>elevation interval between contours.<p></dd><dt><b>-off</b> <em>offset</em>:</dt><dd>Offset from zero relative to which to interpret intervals.<p></dd><dt><b>-fl</b> <em>level</em>: </dt><dd>Name one or more "fixed levels" to extract. </dd></dl><p> Example:<p>This would create 10meter contours from the DEM data in dem.tif and produce a shapefile in contour.shp/shx/dbf with the contour elevations in the "elev" attribute.<p><div class="fragment"><pre class="fragment">gdal_contour -a elev dem.tif contour.shp -i 10.0</pre></div> <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 + -