CmdID

CmdID / Commands

ogrinfo

List information about an OGR-supported data source. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List supported formats

ogrinfo --formatsIdentify

List layers of a data source

ogrinfo path/to/input.gpkgIdentify

Get detailed information about a specific layer of a data source

ogrinfo path/to/input.gpkg layer_nameIdentify

Show summary information about a specific layer of a data source

ogrinfo -so path/to/input.gpkg layer_nameIdentify

Show summary of all layers of the data source

ogrinfo -so -al path/to/input.gpkgIdentify

Show detailed information of features matching a condition

ogrinfo -where 'attribute_name > 42' path/to/input.gpkg layer_nameIdentify

Update a layer in the data source with SQL

ogrinfo path/to/input.geojson -dialect SQLite -sql "UPDATE input SET attribute_name = 'foo'"Identify