gdal − Main gdal entry point
Added in version 3.11.
Usage: gdal
<COMMAND> [OPTIONS]
where <COMMAND> is one of:
− convert: Convert a dataset (shortcut for 'gdal
raster convert' or 'gdal vector convert').
− driver: Command for driver specific operations.
− info: Return information on a dataset (shortcut for
'gdal raster info' or 'gdal vector info').
− mdim: Multidimensional commands.
− pipeline: Execute a pipeline (shortcut for 'gdal
raster pipeline' or 'gdal vector pipeline').
− raster: Raster commands.
− vector: Vector commands.
− vsi: GDAL Virtual System Interface (VSI)
commands.
Common Options:
−h, −−help Display help message and exit
−−json−usage Display usage as JSON
document and exit
−−config <KEY>=<VALUE> Configuration
option [may be repeated]
Options:
−−version Display GDAL version and exit
−−drivers Display driver list as JSON
document
'gdal
<FILENAME>' can also be used as a shortcut for 'gdal
info <FILENAME>'.
And 'gdal read <FILENAME> ! ...' as a shortcut for
'gdal pipeline <FILENAME> ! ...'.
$ gdal info utm.tif
$ gdal convert utm.tif utm.gpkg
$ gdal −−json−usage
$ gdal −−formats
$ gdal −−formats −−json
Even Rouault <[email protected]>
1998-2025