ogrinfo
List information about an OGR-supported data source. tldr-pages
On several platforms
Several platforms
List supported formats
ogrinfo --formatsIdentifyList layers of a data source
ogrinfo path/to/input.gpkgIdentifyGet detailed information about a specific layer of a data source
ogrinfo path/to/input.gpkg layer_nameIdentifyShow summary information about a specific layer of a data source
ogrinfo -so path/to/input.gpkg layer_nameIdentifyShow summary of all layers of the data source
ogrinfo -so -al path/to/input.gpkgIdentifyShow detailed information of features matching a condition
ogrinfo -where 'attribute_name > 42' path/to/input.gpkg layer_nameIdentifyUpdate a layer in the data source with SQL
ogrinfo path/to/input.geojson -dialect SQLite -sql "UPDATE input SET attribute_name = 'foo'"Identify