Converts data between formats.

Here are some flags and their meaning from PostGIS workshop:

  • -nln: new layer name, sets the table name that will be created in the target database
    • From ogr2ogr docs, it is an alternate name to the new layer
  • -nlt: new layer type, defines the geometry type for the created layer
  • -lco: layer create option

References

  1. ogr2ogr docs