1ogrtindex(1) General Commands Manual ogrtindex(1)
2
3
4
6 ogrtindex - ogrtindex creates a tileindex
7
9 ogrtindex [-lnum n]... [-lname name]... [-f output_format]
10 output_dataset src_dataset...
11
13 The ogrtindex program can be used to create a tileindex - a file
14 containing a list of the identities of a bunch of other files along
15 with there spatial extents. This is primarily intended to be used with
16 the UMN MapServer for tiled access to layers using the OGR connection
17 type.
18
19 -lnum n:
20 Add layer number 'n' from each source file in the tile index.
21
22 -lname name:
23 Add the layer named 'name' from each source file in the tile index.
24
25 -f output_format:
26 Select an output format name. The default is to create a shapefile.
27
28 -tileindex field_name:
29 The name to use for the dataset name. Defaults to LOCATION.
30
31 If no -lnum or -lname arguments are given it is assumed that all layers
32 in source datasets should be added to the tile index as independent
33 records.
34
35 If the tile index already exists it will be appended to, otherwise it
36 will be created.
37
38 It is a flaw of the current ogrtindex program that no attempt is made
39 to copy the coordinate system definition from the source datasets to
40 the tile index (as is expected by MapServer when PROJECTION AUTO is in
41 use).
42
44 This example would create a shapefile (tindex.shp) containing a tile
45 index of the BL2000_LINK layers in all the NTF files in the wrk
46 directory:
47
48 % ogrtindex tindex.shp wrk/*.NTF
49
50
52 Frank Warmerdam <warmerdam@pobox.com>, Silke Reimer
53 <silke@intevation.de>
54
55
56
57GDAL 31 Jul 2007 ogrtindex(1)