<div>I need help in figuring out why ogr2ogr is failing to import data into the same layer in append mode.</div>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.<br>
I have an old ubuntu machine which has gdal version 1.7.2, the command succeeds there for importing all ENCs.<div><br></div><div><div><div>$ogr2ogr -append -update -f  &quot;PostgreSQL&quot; PG:dbname=marine ENC_ROOT/US4AK26M/US4AK26M.000</div>
<div>ERROR 1: Layer dsid already exists, CreateLayer failed.</div><div>Use the layer creation option OVERWRITE=YES to replace it.</div><div>ERROR 1: Terminating translation prematurely after failed</div><div>translation of layer DSID (use -skipfailures to skip errors)</div>
</div><div><br></div></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Thanks,</div><div>MB</div></div>