Main.Ogrinfo


ogrinfo

Useful Commands

Extract layer metadata and geoemtry from a vector layer:

# ogrinfo [FILENAME] [LAYERNAME]

NOTE: MapInfo TAB files require a layer name, generally gotten from the filename.

Usage

Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where]
               [-spat xmin ymin xmax ymax] [-fid fid]
               [-sql statement] [-dialect sql_dialect] [-al] [-so] [-fields={YES/NO}]
               [-geom={YES/NO/SUMMARY}][--formats]
               datasource_name [layer [layer ...]]