#ifndef DOXYGEN_SKIP /* $Id: gdal_utilities.dox b9ddc19f9ccd776cac9388f260aebc24439f10aa 2018-10-09 11:45:33 +0200 Julien Cabieces $ */ #endif /* DOXYGEN_SKIP */ /*! \page gdal_utilities GDAL Utilities \brief A collection of GDAL related programs. The following utility programs are distributed with GDAL.
Starting with GDAL 2.3, if not specified, the format is guessed from the extension (previously was generally GTiff for raster, or ESRI Shapefile for vector).
The creation options available vary by format driver, and some simple
formats have no creation options at all. A list of options supported
for a format can be listed with the "--format
These utilities allow the coordinate system (SRS = spatial reference system) to be assigned in a variety of formats.
$Id: gdal_utilities.dox b9ddc19f9ccd776cac9388f260aebc24439f10aa 2018-10-09 11:45:33 +0200 Julien Cabieces $
\endhtmlonly */ ******************************************************************************* /*! \if man \page gdalinfo \else \page gdalinfo gdalinfo \endif Lists information about a raster dataset. \section gdalinfo_synopsis SYNOPSIS \verbatim gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd] [-norat] [-noct] [-nofl] [-checksum] [-proj4] [-listmdd] [-mdd domain|`all`]* [-sd subdataset] [-oo NAME=VALUE]* datasetname \endverbatim \section gdalinfo_description DESCRIPTION The gdalinfo program lists various information about a GDAL supported raster dataset.The OGR format of the output tile index file. Starting with GDAL 2.3, if not specified, the format is guessed from the extension (previously was ESRI Shapefile).
The output field name to hold the file path/location to the indexed rasters. The default tile index field name is location
.
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.
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.
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.
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.
The format in which the SRS of each tile must be written. Types can be AUTO, WKT, EPSG, PROJ.
Layer name to create/append to in the output tile 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.
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.
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:
\verbatim
gdaltindex doq_index.shp doq/*.tif
\endverbatim
The -t_srs
option can also be used to transform all input rasters
into the same output projection:
\verbatim
gdaltindex -t_srs EPSG:4326 -src_srs_name src_srs tile_index_mixed_srs.shp *.tif
\endverbatim
\if man
\section gdaltindex_author AUTHOR
Frank Warmerdam