1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gdalinfo.md
Jakob Miksch 6415af8d84
gdalinfo: add page (#8162)
* gdalinfo: add page

* Update pages/common/gdalinfo.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Apply suggestions from code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>
2022-07-16 00:10:21 +10:00

28 lines
753 B
Markdown

# gdalinfo
> List various information about a GDAL supported raster dataset.
> More information: <https://gdal.org/programs/gdalinfo.html>.
- List all supported raster formats:
`gdalinfo --formats`
- List information about a specific raster dataset:
`gdalinfo {{path/to/input.tif}}`
- List information about a specific raster dataset in JSON format:
`gdalinfo -json {{path/to/input.tif}}`
- Show histogram values of a specific raster dataset:
`gdalinfo -hist {{path/to/input.tif}}`
- List information about a Web Map Service (WMS):
`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}}`
- List information about a specific dataset of a Web Map Service (WMS):
`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}} -sd {{4}}`