Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

OGRINFO - List Data Source Information | Online Free DevTools by Hexmos

List data source information with OGRINFO, a powerful geospatial data tool. Inspect vector data formats and metadata using command line. Free online tool, no registration required.

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

  • Show summary information about a specific layer of a data source:

ogrinfo -so {{path/to/input.gpkg}} {{layer_name}}

  • Show summary of all layers of the data source:

ogrinfo -so -al {{path/to/input.gpkg}}

  • Show detailed information of features matching a condition:

ogrinfo -where '{{attribute_name > 42}}' {{path/to/input.gpkg}} {{layer_name}}

  • Update a layer in the data source with SQL:

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

See Also