mirror of https://github.com/CrimsonTome/tldr.git
17 lines
413 B
Markdown
17 lines
413 B
Markdown
|
# ogrinfo
|
||
|
|
||
|
> List information about an OGR-supported data source.
|
||
|
> More information: <https://gdal.org/programs/ogrinfo.html>.
|
||
|
|
||
|
- List layers of a GeoPackage:
|
||
|
|
||
|
`ogrinfo {{input}}.gpkg`
|
||
|
|
||
|
- Get detailed information about a specific layer of a GeoPackage:
|
||
|
|
||
|
`ogrinfo {{input}}.gpkg {{layer_name}}`
|
||
|
|
||
|
- Only show summary information about a specific layer of a GeoPackage:
|
||
|
|
||
|
`ogrinfo -so {{input}}.gpkg {{layer_name}}`
|