Examples (6)
List all supported raster formats
gdalinfo --formatsList information about a specific raster dataset
gdalinfo path/to/input.tifList information about a specific raster dataset in JSON format
gdalinfo -json path/to/input.tifShow histogram values of a specific raster dataset
gdalinfo -hist path/to/input.tifList information about a Web Map Service (WMS)
gdalinfo WMS:https://services.meggsimum.de/geoserver/owsList information about a specific dataset of a Web Map Service (WMS)
gdalinfo WMS:https://services.meggsimum.de/geoserver/ows -sd 4made by @shridhargupta | data from tldr-pages