ogrtindex(1) | General Commands Manual | ogrtindex(1) |
ogrtindex - Creates a tileindex.
ogrtindex [-lnum n]... [-lname name]... [-f output_format]
[-write_absolute_path] [-skip_different_projection]
[-t_srs target_srs]
[-src_srs_name field_name] [-src_srs_format [AUTO|WKT|EPSG|PROJ]
[-accept_different_schemas]
output_dataset src_dataset...
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 MapServer for tiled access to layers using the OGR connection type.
Extent of input files will be transformed to the desired target coordinate reference system. Using this option generates files that are not compatible with MapServer < 7.2. Default creates simple rectangular polygons in the same coordinate reference system as the input vector layers.
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 >= 7.2.
The format in which the SRS of each tile must be written. Types can be AUTO, WKT, EPSG, PROJ.
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.
If the tile index already exists it will be appended to, otherwise it will be created.
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:
% ogrtindex tindex.shp wrk/*.NTF
Frank Warmerdam warmerdam@pobox.com, Silke Reimer silke@intevation.de
Sun Jan 13 2019 | GDAL |