Ferramentas do complemento GDAL

O que é o GDALTools?

The GDAL Tools plugin offers a GUI to the collection of tools in the Geospatial Data Abstraction Library, http://gdal.osgeo.org . These are raster management tools to query, re-project, warp and merge a wide variety of raster formats. Also included are tools to create a contour (vector) layer, or a shaded relief from a raster DEM, and to make a vrt (Virtual Raster Tile in XML format) from a collection of one or more raster files. These tools are available when the plugin is installed and activated.

A Biblioteca GDAL

A biblioteca GDAL consiste em um conjunto de programas de linha de comando, cada uma com uma grande lista de opções. Usuários familiarisados ​​com a execução de comandos em um terminal podem preferir a linha de comando, tendo acesso ao conjunto completo de opções. O complemento GDALTools oferece uma interface intuitiva para as ferramentas, expondo apenas as opções mais populares.

List of GDAL tools

Figure GDAL Tools 1:

../../../_images/raster_menu.png

The GDALTools menu list

Projections

gdal_warp Warp (Reproject) This utility is an image mosaicing, reprojection and warping utility. The program can reproject to any supported projection, and can also apply GCPs stored with the image if the image is “raw” with control information. For more information you can read on the GDAL website http://www.gdal.org/gdalwarp.html
gdal_assign_projection Assign projection This tool allows to assign projection to rasters that already georeferenced but miss projection information. Also with it help it is possible to alter existing projection definition. Both single file and batch mode are supported. For more information please visit utility page at GDAL site http://www.gdal.org/gdalwarp.html
gdal_extract_projection Extract projection This utility helps you to extract projection information from an input file. If you want to extract projection from a whole directory you can use the Batch mode. It creates both .prj and .wld files.

Conversion

gdal_rasterize Rasterize This program burns vector geometries (points, lines and polygons) into the raster band(s) of a raster image. Vectors are read from OGR supported vector formats. Note that the vector data must in the same coordinate system as the raster data; on the fly reprojection is not provided. For more information see http://www.gdal.org/gdal_rasterize.html
gdal_polygonize Polygonize This utility creates vector polygons for all connected regions of pixels in the raster sharing a common pixel value. Each polygon is created with an attribute indicating the pixel value of that polygon. The utility will create the output vector datasource if it does not already exist, defaulting to ESRI shapefile format. See also http://www.gdal.org/gdal_polygonize.html
gdal_translate Translate This utility can be used to convert raster data between different formats, potentially performing some operations like subsettings, resampling, and rescaling pixels in the process. For more information you can read on http://www.gdal.org/gdal_translate.html
gdal_raster-rgb RGB to PCT 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. The utility is also desribed at http://www.gdal.org/rgb2pct.html
gdal_raster-rgb PCT to RGB This utility will convert a pseudocolor band on the input file into an output RGB file of the desired format. For more information see http://www.gdal.org/pct2rgb.html

Extraction

gdal_contour Contour This program generates a vector contour file from the input raster elevation model (DEM). On http://www.gdal.org/gdal_contour.html you can find more information.
gdal_raster-clip Clipper This utility allows to clip (extract subset) raster using selected extent or based on mask layer bounds. More information can be found at http://www.gdal.org/gdal_translate.html.

Analysis

gdal_sieve Sieve This utility removes raster polygons smaller than a provided threshold size (in pixels) and replaces them with the pixel value of the largest neighbor polygon. The result can be written back to the existing raster band, or copied into a new file. For more information see http://www.gdal.org/gdal_sieve.html .
gdal_nearblack Near Black This utility will scan an image and try to set all pixels that are nearly black (or nearly white) around the edge to exactly black (or white). This is often used to “fix up” lossy compressed aerial photos so that color pixels can be treated as transparent when mosaicing. See also http://www.gdal.org/nearblack.html .
gdal_fillnodata Fill nodata This utility fills selection raster regions (usually nodata areas) by interpolation from valid pixels around the edges of the area. On http://www.gdal.org/gdal_fillnodata.html you can find more information.
gdal_proximityProximity This utility generates a raster proximity map indicating the distance from the center of each pixel to the center of the nearest pixel identified as a target pixel. Target pixels are those in the source raster for which the raster pixel value is in the set of target pixel values. For more information see http://www.gdal.org/gdal_proximity.html .
gdal_grid Grid (Interpolation) This utility creates regular grid (raster) from the scattered data read from the OGR datasource. Input data will be interpolated to fill grid nodes with values, you can choose from various interpolation methods. The utility is also described on the GDAL website http://www.gdal.org/gdal_grid.html .
gdal_dem DEM (Terrain models) Tools to analyze and visualize DEMs. It can create a shaded relief, a slope, an aspect, a color relief, a Terrain Ruggedness Index, a Topographic Position Index and a roughness map from any GDAL-supported elevation raster. For more information you can read on http://www.gdal.org/gdaldem.html

Miscellaneous

gdal_vrt Build Virtual Raster (Catalog) This program builds a VRT (Virtual Dataset) that is a mosaic of the list of input gdal datasets. See also http://www.gdal.org/gdalbuildvrt.html .
gdal_merge Merge 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. In areas of overlap, the last image will be copied over earlier ones. The utility is also described on http://www.gdal.org/gdal_merge.html .
raster-info Information This utility lists various information about a GDAL supported raster dataset. On http://www.gdal.org/gdalinfo.html you can find more information.
gdal_raster-overview Build Overviews The gdaladdo utility can be used to build or rebuild overview images for most supported file formats with one of several downsampling algorithms. For more information see http://www.gdal.org/gdaladdo.html .
gdal_tileindex Tile Index This utility builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. See also http://www.gdal.org/gdaltindex.html .