# Programs

## "gdal" application

Added in version 3.11.

Starting with GDAL 3.11, parts of the GDAL utilities are available from a new single gdal program that accepts commands and subcommands.

As an introduction, you can follow the webinar given on June 3, 2025 about the GDAL Command Line Interface Modernization as a PDF slide deck or the recording of the video.

Warning

The gdal command is provisionally provided as an alternative interface to GDAL and OGR command line utilities. The project reserves the right to modify, rename, reorganize, and change the behavior of the utility until it is officially frozen via PSC vote in a future major GDAL release. The utility needs time to mature, benefit from incremental feedback, and explore enhancements without carrying the burden of full backward compatibility. Your usage of it should have no expectation of compatibility until that time.

### General

- gdal: Main `gdal` entry point

- Syntax for commands of gdal program: Syntax for commands of `gdal` program

- Migration guide to "gdal" command line interface: Migration guide to `gdal` command line interface

- Bash completion for gdal: Bash completion for `gdal`

- How to use "gdal" CLI algorithms from Python: How to use `gdal` CLI algorithms from Python

- .gdalg files to replay serialized "gdal" commands: .gdalg files to replay serialized `gdal` commands

### Commands working with raster or vector inputs

- gdal info: Get information on a dataset

- gdal convert: Convert a dataset

### Raster commands

- gdal raster: Entry point for raster commands

- gdal raster info: Get information on a raster dataset

- gdal raster aspect: Generate an aspect map.

- gdal raster calc: Perform raster algebra

- gdal raster clean-collar: Clean the collar of a raster dataset, removing noise

- gdal raster clip: Clip a raster dataset

- gdal raster color-map: Generate a RGB or RGBA dataset from a single band, using a color map

- gdal raster convert: Convert a raster dataset

- gdal raster contour: Builds vector contour lines from a raster elevation model

- gdal raster create: Create a new raster dataset

- gdal raster edit: Edit in place a raster dataset

- gdal raster footprint: Compute the footprint of a raster dataset.

- gdal raster fill-nodata: Fill raster regions by interpolation from edges.

- gdal raster hillshade: Generate a shaded relief map

- gdal raster index: Create a vector index of raster datasets

- gdal raster mosaic: Build a mosaic, either virtual (VRT) or materialized.

- gdal raster overview: Manage overviews of a raster dataset

- gdal raster overview add: Add overviews to a raster dataset

- gdal raster overview delete: Remove overviews of a raster dataset

- gdal raster pipeline: Process a raster dataset

- gdal raster polygonize: Create a polygon feature dataset from a raster band

- gdal raster pixel-info: Return information on a pixel of a raster dataset

- gdal raster reclassify: Reclassify a raster dataset

- gdal raster reproject: Reproject a raster dataset

- gdal raster resize: Resize a raster dataset without changing the georeferenced extents

- gdal raster roughness: Generate a roughness map.

- gdal raster scale: Scale the values of the bands of a raster dataset.

- gdal raster select: Select a subset of bands from a raster dataset.

- gdal raster set-type: Modify the data type of bands of a raster dataset

- gdal raster sieve: Remove small raster polygons.

- gdal raster slope: Generate a slope map.

- gdal raster stack: Combine together input bands into a multi-band output, either virtual (VRT) or materialized.

- gdal raster tile: Generate tiles in separate files from a raster dataset.

- gdal raster tpi: Generate a Topographic Position Index (TPI) map.

- gdal raster tri: Generate a Terrain Ruggedness Index (TRI) map.

- gdal raster unscale: Convert scaled values of a raster dataset into unscaled values.

- gdal raster viewshed: Compute the viewshed of a raster dataset.

### Vector commands

- gdal vector: Entry point for vector commands

- gdal vector info: Get information on a vector dataset

- gdal vector clip: Clip a vector dataset

- gdal vector concat: Concatenate vector datasets

- gdal vector convert: Convert a vector dataset

- gdal vector edit: Edit metadata of a vector dataset

- gdal vector filter: Filter a vector dataset

- gdal vector geom: Geometry operations on a vector dataset

- gdal vector geom set-type: Modify the geometry type of a vector dataset

- gdal vector geom explode-collections: Explode geometries of type collection of a vector dataset

- gdal vector geom make-valid: Fix validity of geometries of a vector dataset

- gdal vector geom segmentize: Segmentize geometries of a vector dataset

- gdal vector geom simplify: Simplify geometries of a vector dataset

- gdal vector geom buffer: Compute a buffer around geometries of a vector dataset

- gdal vector geom swap-xy: Swap X and Y coordinates of geometries of a vector dataset

- gdal vector grid: Create a regular grid from scattered points

- gdal vector convert: Convert a vector dataset

- gdal vector pipeline: Process a vector dataset

- gdal vector reproject: Reproject a vector dataset

- gdal vector select: Select a subset of fields from a vector dataset.

- gdal vector rasterize: Burns vector geometries into a raster

- gdal vector sql: Apply SQL statement(s) to a dataset

### Multidimensional raster commands

- gdal mdim: Entry point for multidimensional commands

- gdal mdim info: Get information on a multidimensional dataset

- gdal mdim convert: Convert a multidimensional dataset

### Virtual System Interface (VSI) commands

- gdal vsi: Entry point for GDAL Virtual System Interface (VSI) commands

- gdal vsi copy: Copy files located on GDAL Virtual System Interface (VSI)

- gdal vsi delete: Delete files located on GDAL Virtual System Interface (VSI)

- gdal vsi list: List files of one of the GDAL Virtual System Interface (VSI)

- gdal vsi move: Move/rename a file/directory located on GDAL Virtual System Interface (VSI)

- gdal vsi sync: Synchronize source and target file/directory located on GDAL Virtual System Interface (VSI)

- gdal vsi sozip: SOZIP (Seek-Optimized ZIP) related commands

### Driver specific commands

- gdal driver gpkg repack: Repack/vacuum in-place a GeoPackage dataset

- gdal driver gti create: Create an index of raster datasets compatible of the GDAL Tile Index (GTI) driver

- gdal driver openfilegdb repack: Repack in-place a FileGeodabase dataset

- gdal driver pdf list-layer: Return the list of layers of a PDF file.

## "Traditional" applications

### General

- Syntax of arguments of command-line utilities

### Raster programs

- Common options

- gdal-config (Unix): Determines various information about a GDAL installation.

- gdal2tiles: Generates directory with TMS tiles, KMLs and simple web viewers.

- gdal2xyz: Translates a raster file into xyz format.

- gdal_calc: Command line raster calculator with numpy syntax.

- gdal_contour: Builds vector contour lines from a raster elevation model.

- gdal_create: Create a raster file (without source dataset).

- gdal_edit: Edit in place various information of an existing GDAL dataset.

- gdal_fillnodata: Fill raster regions by interpolation from edges.

- gdal_footprint: Compute footprint of a raster.

- gdal_grid: Creates regular grid from the scattered data.

- gdal_merge: Mosaics a set of images.

- gdal_pansharpen: Perform a pansharpen operation.

- gdal_polygonize: Produces a polygon feature layer from a raster.

- gdal_proximity: Produces a raster proximity map.

- gdal_rasterize: Burns vector geometries into a raster.

- gdal_retile: Retiles a set of tiles and/or build tiled pyramid levels.

- gdal_sieve: Removes small raster polygons.

- gdal_translate: Converts raster data between different formats.

- gdal_viewshed: Compute a visibility mask for a raster.

- gdaladdo: Builds or rebuilds overview images.

- gdalattachpct: Attach a color table to a raster file from an input file.

- gdalbuildvrt: Builds a VRT from a list of datasets.

- gdalcompare: Compare two images.

- gdaldem: Tools to analyze and visualize DEMs.

- gdalenhance: Enhance an image with LUT-based contrast enhancement

- gdalinfo: Lists information about a raster dataset.

- gdallocationinfo: Raster query tool

- gdalmanage: Identify, delete, rename and copy raster data files.

- gdalmove: Transform georeferencing of raster file in place.

- gdalsrsinfo: Lists info about a given SRS in number of formats (WKT, PROJ.4, etc.)

- gdaltindex: Builds an OGR-supported dataset as a raster tileindex.

- gdaltransform: Transforms coordinates.

- gdalwarp: Image reprojection and warping utility.

- nearblack: Convert nearly black/white borders to black.

- pct2rgb: Convert an 8bit paletted image to 24bit RGB.

- rgb2pct: Convert a 24bit RGB image to 8bit paletted.

### Multidimensional Raster programs

- gdalmdiminfo: Reports structure and content of a multidimensional dataset.

- gdalmdimtranslate: Converts multidimensional data between different formats, and perform subsetting.

### Vector programs

- Common options

- 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: Merge several vector datasets into a single one.

- ogr_layer_algebra: Performs various Vector layer algebraic operations.

### Geographic network programs

- gnmmanage: Manages networks

- gnmanalyse: Analyses networks

### Other utilities

- sozip: Generate a seek-optimized ZIP (SOZip) file