/*! \page gdal_utilities
\if man
\section example EXAMPLE
\endif
\htmlonly
Example:
\endhtmlonly
% gdaladdo -r average abc.tif 2 4 8 16
\if man
\section author AUTHOR
Frank Warmerdam
The gdalwarp utility is a simple image reprojection and warping
utility. The program can reproject to any support projection,
and can also apply GCPs stored with the image if the image is "raw"
with control information.
\if man
\section example EXAMPLE
\endif
\htmlonly
Example:
\endhtmlonly
For instance, an eight bit spot scene stored in GeoTIFF with
control points mapping the corners to lat/long could be warped to a UTM
projection with a command like this:
\verbatim
% gdalwarp -t_srs '+proj=utm +zone=11 +datum=WGS84' raw_spot.tif utm11.tif
\endverbatim
For instance, the second channel of an ASTER image stored in HDF with
control points mapping the corners to lat/long could be warped to a UTM
projection with a command like this:
\verbatim
% gdalwarp HDF4_SDS:ASTER_L1B:"pg-PR1B0000-2002031402_100_001":2 pg-PR1B0000-2002031402_100_001_2.tif
\endverbatim
\if man
\section author AUTHOR
Frank Warmerdam gdalwarp
Usage:
\endhtmlonly
\verbatim
gdalwarp [--version] [--formats]
[-s_srs srs_def] [-t_srs srs_def] [-order n] [-et err_threshold]
[-te xmin ymin xmax ymax] [-tr xres yres] [-ts width height]
[-wo "NAME=VALUE"] [-ot Byte/Int16/...] [-wt Byte/Int16]
[-rn] [-rb] [-rc] [-rcs] [-srcnodata value [value...]]
[-wm memory_in_mb] [-multi] [-q]
[-of format] [-co "NAME=VALUE"]* srcfile dstfile
\endverbatim
\if man
\section description DESCRIPTION
\endif
Mosaicing into an existing output file is supported if the output file
already exists.
gdaltindex
Usage:
\endhtmlonly
\verbatim
gdaltindex [-tileindex field_name] index_file [gdal_file]*
\endverbatim
\if man
\section description DESCRIPTION
\endif
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 UMN MapServer as a raster
tileindex.
\if man
\section example EXAMPLE
\endif
\htmlonly
Example:
\endhtmlonly
% gdaltindex doq_index.shp doq/*.tif
\if man
\section author AUTHOR
Frank Warmerdam rgb2pct.py
Usage:
\endhtmlonly
\verbatim
rgb2pct.py [-n colors] [-of format] source_file dest_file
\endverbatim
\if man
\section description DESCRIPTION
\endif
This utility will compute an optimal pseudo-color table for a given RGB image
using a median cut algorithm on a downsampled RGB histogram. Then it
converts the image into a pseudo-colored image using the color table.
This conversion utilizes Floyd-Steinberg dithering (error diffusion) to
maximize output image visual quality.
NOTE: rgb2pct.py is a Python script, and will only work if GDAL was built
with Python support. It is also not installed by default. It is found
at $GDAL_HOME/pymod.
\if man
\section author AUTHOR
Frank Warmerdam gdal_merge.py
Usage:
\endhtmlonly
\verbatim
gdal_merge.py [-o out_filename] [-f out_format] [-v]
[-ps pixelsize_x pixelsize_y]
[-ul_lr ulx uly lrx lry] input_files
\endverbatim
\if man
\section description DESCRIPTION
\endif
This utility will automatically mosaic a set of images. All the images must
be in the same coordinate system and have a matching number of bands, but
they may be overlapping, and at different resolutions.
NOTE: gdal_merge.py is a Python script, and will only work if GDAL was built
with Python support. It is also not installed by default. It is found
at $GDAL_HOME/pymod.
\if man
\section author AUTHOR
Frank Warmerdam gdal-config
Usage:
\endhtmlonly
\verbatim
gdal-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--libs]
[--cflags]
[--version]
[--ogr-enabled]
[--formats]
\endverbatim
\if man
\section description DESCRIPTION
\endif
This utility script (available on Unix systems) can be used to determine
various information about a GDAL installation. It is normally just used
by configure scripts for applications using GDAL but can be queried by an
end user.
*/