[gdal-dev] ogr2ogr -append problem with 1.8.x, works with 1.7.2
Manoj Bist
manoj.bist1 at gmail.com
Tue Dec 13 01:32:25 EST 2011
I need help in figuring out why ogr2ogr is failing to import data into the
same layer in append mode.
I am trying to import in PostGres S57 ENCs by using ogr2ogr. Following
commands failed for me in version 1.8.1 and 1.8.0.
I have an old ubuntu machine which has gdal version 1.7.2, the command
succeeds there for importing all ENCs.
$ogr2ogr -append -update -f "PostgreSQL" PG:dbname=marine
ENC_ROOT/US4AK26M/US4AK26M.000
ERROR 1: Layer dsid already exists, CreateLayer failed.
Use the layer creation option OVERWRITE=YES to replace it.
ERROR 1: Terminating translation prematurely after failed
translation of layer DSID (use -skipfailures to skip errors)
Thanks,
MB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111212/90e78ec3/attachment.html
More information about the gdal-dev
mailing list