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>
pull/1/head
Jakob Miksch 2022-07-15 16:10:21 +02:00 committed by GitHub
parent b8fecc0485
commit 6415af8d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/common/gdalinfo.md Normal file
View File

@ -0,0 +1,28 @@
# 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}}`