July 2017
Beginner to intermediate
378 pages
10h 26m
English
ogr2ogr is part of the GDAL library. It is a command-line tool used to convert files from one OpenGIS Simple Features Reference Implementation (OGR) spatial format to another. It is a no-frills tool but is used heavily by geospatial analysts. The general format for a command-line conversion follows the following example:
ogr2ogr -f "file_format" destination_data source_data
You can use it to convert PostGIS data into shapefiles or load shapefiles into PostGIS for example. It supports conversion into over 90 file formats for vector data alone.