EVOLUTION-MANAGER
Edit File: gdaltindex.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>My Project: gdaltindex</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">My Project </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">gdaltindex </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><p>Builds a shapefile as a raster tileindex</p> <h1><a class="anchor" id="gdaltindex_synopsis"></a> SYNOPSIS</h1> <pre class="fragment">gdaltindex [-f format] [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] [-t_srs target_srs] [-src_srs_name field_name] [-src_srs_format [AUTO|WKT|EPSG|PROJ] [-lyr_name name] index_file [gdal_file]* </pre><h1><a class="anchor" id="gdaltindex_description"></a> DESCRIPTION</h1> <p>This program builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with <a href="http://mapserver.org/">MapServer</a> as a raster tileindex.</p> <dl> <dt><b>-f</b> format:</dt> <dd><p class="startdd">(GDAL >= 1.11) </p> <p>The OGR format of the output tile index file. Default is Esri Shapefile.</p> <p class="enddd"></p> </dd> <dt><b>-tileindex</b> field_name: </dt> <dd><p class="startdd"></p> <p>The output field name to hold the file path/location to the indexed rasters. The default tile index field name is <code>location</code>.</p> <p class="enddd"></p> </dd> <dt><b>-write_absolute_path</b>: </dt> <dd><p class="startdd"></p> <p>The absolute path to the raster files is stored in the tile index file. By default the raster filenames will be put in the file exactly as they are specified on the command line.</p> <p class="enddd"></p> </dd> <dt><b>-skip_different_projection</b>: </dt> <dd><p class="startdd"></p> <p>Only files with same projection as files already inserted in the tileindex will be inserted (unless <code>-t_srs</code> is specified). Default does not check projection and accepts all inputs.</p> <p class="enddd"></p> </dd> <dt><b>-t_srs</b> target_srs: </dt> <dd><p class="startdd"></p> <p>Geometries of input files will be transformed to the desired target coordinate reference system. Using this option generates files that are not compatible with MapServer < 6.4. Default creates simple rectangular polygons in the same coordinate reference system as the input rasters.</p> <p class="enddd"></p> </dd> <dt><b>-src_srs_name</b> field_name:</dt> <dd><p class="startdd">(GDAL >= 1.11) </p> <p>The name of the field to store the SRS of each tile. This field name can be used as the value of the TILESRS keyword in MapServer >= 6.4.</p> <p class="enddd"></p> </dd> <dt><b>-src_srs_format</b> type:</dt> <dd><p class="startdd">(GDAL >= 1.11) </p> <p>The format in which the SRS of each tile must be written. Types can be AUTO, WKT, EPSG, PROJ.</p> <p class="enddd"></p> </dd> <dt><b>-lyr_name</b> name: </dt> <dd><p class="startdd"></p> <p>Layer name to create/append to in the output tile index file.</p> <p class="enddd"></p> </dd> <dt><b>index_file</b>: </dt> <dd><p class="startdd"></p> <p>The name of the output file to create/append to. The default shapefile will be created if it doesn't already exist, otherwise it will append to the existing file.</p> <p class="enddd"></p> </dd> <dt><b>gdal_file</b>: </dt> <dd><p class="startdd"></p> <p>The input GDAL raster files, can be multiple files separated by spaces. Wildcards my also be used. Stores the file locations in the same style as specified here, unless <code>-write_absolute_path</code> option is also used.</p> <p class="enddd"></p> </dd> </dl> <h1><a class="anchor" id="gdaltindex_example"></a> EXAMPLES</h1> Examples: <p>Produce a shapefile (<code>doq_index.shp</code>) with a record for every image that the utility found in the <code>doq</code> folder. Each record holds information that points to the location of the image and also a bounding rectangle shape showing the bounds of the image:</p> <pre class="fragment">gdaltindex doq_index.shp doq/*.tif </pre><p>The <code>-t_srs</code> option can also be used to transform all input rasters into the same output projection:</p> <pre class="fragment">gdaltindex -t_srs EPSG:4326 -src_srs_name src_srs tile_index_mixed_srs.shp *.tif </pre> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>