📄 ogrtindex.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>OGR: ogrtindex</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="dirs.html"><span>Directories</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div><h1><a class="anchor" name="ogrtindex">ogrtindex</a></h1>creates a tileindex<p> Usage:<p><div class="fragment"><pre class="fragment">ogrtindex [-lnum n]... [-lname name]... [-f output_format] output_dataset src_dataset...</pre></div><p>The ogrtindex program can be used to create a tileindex - a file containing a list of the identities of a bunch of other files along with there spatial extents. This is primarily intended to be used with the <a href="http://mapserver.gis.umn.edu/">UMN MapServer</a> for tiled access to layers using the OGR connection type.<p><dl><dt><b>-lnum</b> <em>n</em>:</dt><dd>Add layer number 'n' from each source file in the tile index. </dd><dt><b>-lname</b> <em>name</em>:</dt><dd>Add the layer named 'name' from each source file in the tile index. </dd><dt><b>-f</b> <em>output_format</em>:</dt><dd>Select an output format name. The default is to create a shapefile. </dd><dt><b>-tileindex</b> <em>field_name</em>:</dt><dd>The name to use for the dataset name. Defaults to LOCATION. </dd></dl><p>If no -lnum or -lname arguments are given it is assumed that all layers in source datasets should be added to the tile index as independent records.<p>If the tile index already exists it will be appended to, otherwise it will be created.<p>It is a flaw of the current ogrtindex program that no attempt is made to copy the coordinate system definition from the source datasets to the tile index (as is expected by MapServer when PROJECTION AUTO is in use).<p>This example would create a shapefile (tindex.shp) containing a tile index of the BL2000_LINK layers in all the NTF files in the wrk directory: <div class="fragment"><pre class="fragment">% ogrtindex tindex.shp wrk/*.NTF</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 + -