OS Manuals

/usr/bin/ogrtindex

gdal-3.8 tools for Python 3.13

From gdal-3.8-tools-py3.13 3.8.5-r21 (enterprise-packages), captured 2026-11-08 by running ogrtindex --help (exit 0). permalink

Also provided by 4 other package versions
Usage: ogrtindex [--help] [--help-general]
                 [-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> <src_dataset>...

  -lnum n: Add layer number 'n' from each source file
           in the tile index.
  -lname name: Add the layer named 'name' from each source file
               in the tile index.
  -f output_format: Select an output format name.
  -tileindex field_name: The name to use for the dataset name.
                         Defaults to LOCATION.
  -write_absolute_path: Filenames are written with absolute paths.
  -skip_different_projection: Only layers with same projection ref
        as layers already inserted in the tileindex will be inserted.
  -accept_different_schemas: by default ogrtindex checks that all layers inserted
                             into the index have the same attribute schemas. If you
                             specify this option, this test will be disabled. Be aware that
                             resulting index may be incompatible with MapServer!
  - If -t_srs is specified, geometries of input files will be transformed to the desired
    target coordinate reference system.
    Note that using this option generates files that are NOT compatible with MapServer < 7.2.
  - Simple rectangular polygons are generated in the same coordinate reference system
    as the vectors, or in target reference system if the -t_srs option is used.

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.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.