1gdaltindex(1) General Commands Manual gdaltindex(1)
2
3
4
6 gdaltindex - .TH "gdaltindex" 1 "Fri Apr 22 2011" "GDAL"
7
9 gdaltindex - builds a shapefile as a raster tileindex
10
12 gdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file]*
13
15 This program builds a shapefile with a record for each input raster
16 file, an attribute containing the filename, and a polygon geometry
17 outlining the raster. This output is suitable for use with MapServer as
18 a raster tileindex.
19
20 · The shapefile (index_file) will be created if it doesn't already
21 exist, otherwise it will append to the existing file.
22 · The default tile index field is 'location'.
23 · Raster filenames will be put in the file exactly as they are
24 specified on the commandline unless the option -write_absolute_path
25 is used.
26 · If -skip_different_projection is specified, only files with same
27 projection ref as files already inserted in the tileindex will be
28 inserted.
29 · Simple rectangular polygons are generated in the same coordinate
30 system as the rasters.
32 gdaltindex doq_index.shp doq/*.tif
34 Frank Warmerdam <warmerdam@pobox.com>
35
36
37
38GDAL Fri Apr 22 2011 gdaltindex(1)