Forrest logo
back to context overview

ogrinfo

List of commands for ogrinfo:

  • ogrinfo:tldr:01c95 ogrinfo: Show summary of all layers of the data source.
    $ ogrinfo -so -al ${path-to-input-gpkg}
    try on your machine
    explain this command
  • ogrinfo:tldr:36cf6 ogrinfo: List layers of a data source.
    $ ogrinfo ${path-to-input-gpkg}
    try on your machine
    explain this command
  • ogrinfo:tldr:3c472 ogrinfo: Show summary information about a specific layer of a data source.
    $ ogrinfo -so ${path-to-input-gpkg} ${layer_name}
    try on your machine
    explain this command
  • ogrinfo:tldr:40bae ogrinfo: Get detailed information about a specific layer of a data source.
    $ ogrinfo ${path-to-input-gpkg} ${layer_name}
    try on your machine
    explain this command
  • ogrinfo:tldr:5e185 ogrinfo: Update a layer in the data source with SQL.
    $ ogrinfo ${path-to-input-geojson} -dialect SQLite -sql "${UPDATE input SET attribute_name = 'foo'}"
    try on your machine
    explain this command
  • ogrinfo:tldr:80191 ogrinfo: Show detailed information of features matching a condition.
    $ ogrinfo -where '${attribute_name > 42}' ${path-to-input-gpkg} ${layer_name}
    try on your machine
    explain this command
  • ogrinfo:tldr:f806e ogrinfo: List supported formats.
    $ ogrinfo --formats
    try on your machine
    explain this command
back to context overview