Files
tldr/pages.zh/common/gdalinfo.md

28 lines
736 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gdalinfo
> 列出有关GDAL支持的栅格数据集的各种信息。
> 更多信息:<https://gdal.org/programs/gdalinfo.html>。
- 列出所有支持的栅格格式:
`gdalinfo --formats`
- 列出有关特定栅格数据集的信息:
`gdalinfo {{path/to/input.tif}}`
- 以JSON格式列出有关特定栅格数据集的信息
`gdalinfo -json {{path/to/input.tif}}`
- 显示特定栅格数据集的直方图值:
`gdalinfo -hist {{path/to/input.tif}}`
- 列出有关网络地图服务WMS的信息
`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}}`
- 列出有关网络地图服务WMS中特定数据集的信息
`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}} -sd {{4}}`