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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to