tldr/pages/common/ogrinfo.md

488 B

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}}