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/ogrinfo.md
2022-02-27 10:50:07 -03:00

20 lines
488 B
Markdown

# ogrinfo
> List information about an OGR-supported data source.
> More information: <https://gdal.org/programs/ogrinfo.html>.
- List supported formats:
`ogrinfo --formats`
- List layers of a data source:
`ogrinfo {{path/to/input.gpkg}}`
- Get detailed information about a specific layer of a data source:
`ogrinfo {{path/to/input.gpkg}} {{layer_name}}`
- Only show summary information about a specific layer of a data source:
`ogrinfo -so {{path/to/input.gpkg}} {{layer_name}}`