Geospatial Data Abstraction Library#

GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source License by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing. The NEWS page describes the latest release.

Note

The current version availalble on SEPAL is : 3.4.3

available commands#

The complete documentation of the GDAL commands can be found on the GDAL website.

Raster programs#

$ gdalinfo           # Lists information about a raster dataset.
$ gdal_translate     # Converts raster data between different formats.
$ gdaladdo           # Builds or rebuilds overview images.
$ gdalwarp           # Image reprojection and warping utility.
$ gdaltindex         # Builds an OGR-supported dataset as a raster tileindex.
$ gdalbuildvrt       # Builds a VRT from a list of datasets.
$ gdal_contour       # Builds vector contour lines from a raster elevation model.
$ gdaldem            # Tools to analyze and visualize DEMs.
$ rgb2pct.py         # Convert a 24bit RGB image to 8bit paletted.
$ pct2rgb.py         # Convert an 8bit paletted image to 24bit RGB.
$ gdalattachpct.py   # Attach a color table to a raster file from an input file.
$ gdal_merge.py      # Mosaics a set of images.
$ gdal2tiles.py      # Generates directory with TMS tiles, KMLs and simple web viewers.
$ gdal2xyz.py        # Translates a raster file into xyz format.
$ gdal_rasterize     # Burns vector geometries into a raster.
$ gdaltransform      # Transforms coordinates.
$ nearblack          # Convert nearly black/white borders to black.
$ gdal_retile.py     # Retiles a set of tiles and/or build tiled pyramid levels.
$ gdal_grid          # Creates regular grid from the scattered data.
$ gdal_proximity.py  # Produces a raster proximity map.
$ gdal_polygonize.py # Produces a polygon feature layer from a raster.
$ gdal_sieve.py      # Removes small raster polygons.
$ gdal_fillnodata.py # Fill raster regions by interpolation from edges.
$ gdallocationinfo   # Raster query tool
$ gdalsrsinfo        # Lists info about a given SRS in number of formats (WKT, PROJ.4, etc.)
$ gdalmove.py        # Transform georeferencing of raster file in place.
$ gdal_edit.py       # Edit in place various information of an existing GDAL dataset.
$ gdal_calc.py       # Command line raster calculator with numpy syntax.
$ gdal_pansharpen.py # Perform a pansharpen operation.
$ gdal-config (Unix) # Determines various information about a GDAL installation.
$ gdalmanage         # Identify, delete, rename and copy raster data files.
$ gdalcompare.py     # Compare two images.
$ gdal_viewshed      # Compute a visibility mask for a raster.
$ gdal_create        # Create a raster file (without source dataset).

Multidimensional Raster programs#

$ gdalmdiminfo      # Reports structure and content of a multidimensional dataset.
$ gdalmdimtranslate # Converts multidimensional data between different formats, and perform subsetting.

Vector programs#

$ ogrinfo     # Lists information about an OGR-supported data source.
$ ogr2ogr     # Converts simple features data between file formats.
$ ogrtindex   # Creates a tileindex.
$ ogrlineref  # Create linear reference and provide some calculations using it.
$ ogrmerge.py # Merge several vector datasets into a single one.

Geographic network programs#

$ gnmmanage  # Manages networks
$ gnmanalyse # Analyses networks