[gdal-dev] difference in -overwrite vs -lco OVERWRITE=YES

Even Rouault even.rouault at spatialys.com
Thu Dec 17 12:44:05 PST 2015

Le jeudi 17 décembre 2015 21:36:47, Donovan Cameron a écrit :
> Hey List!*
> **
> *I'm having trouble tracking down an answer to a question, from either
> the archived mailing list or google, I have about ogr2ogr and loading
> data to PostGIS.
> *
> *Basically, what's the difference between the -overwrite flag and the
> layer creation option OVERWRITE for the PostgreSQL/PostGIS driver?*

No, they do essentially the same. I guess the OVERWRITE layer creation option 
must be a "hack" that pre-dates the DeleteLayer() interface used by ogr2ogr -

Spatialys - Geospatial professional services

More information about the gdal-dev mailing list