EnglishFrenchSpanish

Ad


OnWorks favicon

gdaltindex - Online in the Cloud

Run gdaltindex in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gdaltindex that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gdaltindex - gdaltindex Builds a shapefile as a raster tileindex

SYNOPSIS


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]*

DESCRIPTION


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 MapServer as a raster tileindex.

-f format:
(GDAL >= 1.11)

The OGR format of the output tile index file. Default is Esri Shapefile.

-tileindex field_name:

The output field name to hold the file path/location to the indexed rasters. The default
tile index field name is location.

-write_absolute_path:

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.

-skip_different_projection:

Only files with same projection as files already inserted in the tileindex will be
inserted (unless -t_srs is specified). Default does not check projection and accepts all
inputs.

-t_srs target_srs:

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.

-src_srs_name field_name:
(GDAL >= 1.11)

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.

-src_srs_format type:
(GDAL >= 1.11)

The format in which the SRS of each tile must be written. Types can be AUTO, WKT, EPSG,
PROJ.

-lyr_name name:

Layer name to create/append to in the output tile index file.

index_file:

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.

gdal_file:

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
-write_absolute_path option is also used.

EXAMPLES


Produce a shapefile (doq_index.shp) with a record for every image that the utility found
in the doq 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:

gdaltindex doq_index.shp doq/*.tif

The -t_srs option can also be used to transform all input rasters into the same output
projection:

gdaltindex -t_srs EPSG:4326 -src_srs_name src_srs tile_index_mixed_srs.shp *.tif

Use gdaltindex online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad