Geospatial Data Abstraction Library (GDAL) is a translator library for raster and vector geospatial data formats that is released under an MIT style license by the Open Source Geospatial Foundation.

As a library, GDAL 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.

For information on the newest release of GDAL, see News.


The current version available on SEPAL is : 3.4.3

Available commands#

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

Raster programmes#

$ 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 analyse and visualize DEMs.
$         # Convert a 24bit RGB image to 8bit paletted.
$         # Convert an 8bit paletted image to 24bit RGB.
$   # Attach a color table to a raster file from an input file.
$      # Mosaics a set of images.
$      # Generates directory with TMS tiles, KMLs and simple web viewers.
$        # Translates a raster file into xyz format.
$ gdal_rasterize     # Burns vector geometries into a raster.
$ gdaltransform      # Transforms coordinates.
$ nearblack          # Converts nearly black/white borders to black.
$     # Retiles a set of tiles and/or builds tiled pyramid levels.
$ gdal_grid          # Creates regular grid from scattered data.
$  # Produces a raster proximity map.
$ # Produces a polygon feature layer from a raster.
$      # Removes small raster polygons.
$ # Fills raster regions by interpolation from edges.
$ gdallocationinfo   # Raster query tool.
$ gdalsrsinfo        # Lists info about a given SRS in a number of formats (WKT, PROJ.4, etc.).
$        # Transforms georeferencing of raster file in place.
$       # Edit in place various information of an existing GDAL dataset.
$       # Command-line raster calculator with NumPy syntax.
$ # Performs a pansharpen operation.
$ gdal-config (Unix) # Determines various information about a GDAL installation.
$ gdalmanage         # Identifies, deletes, renames and copies raster data files.
$     # Compares two images.
$ gdal_viewshed      # Computes a visibility mask for a raster.
$ gdal_create        # Creates a raster file (without source dataset).

Multidimensional raster programmes#

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

Vector programmes#

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

Geographic network programmes#

$ gnmmanage  # Manages networks.
$ gnmanalyse # Analyses networks.

Last updated on Nov 17, 2023.