[Gdal-dev] S57 driver: the second import
Tore Halset
halset at pvv.ntnu.no
Thu Aug 19 06:25:10 EDT 2004
Hello!
I have imported a s-57 cell into postgis using ogr2ogr, but now I want
to import a second cell into the same database. Using the same command
as the first time lead to this error message:
ERROR 1: Layer ACHARE already exists, CreateLayer failed.
Use the layer creation option OVERWRITE=YES to replace it.
ERROR 1: Terminating translation prematurely after failed
translation of layer ACHARE
Using -append lead to this errormessage:
FAILED: To find existing layer `BCNISD' on output dataset
to append new features to.
Bus error
Using -update lead to this errormessage:
ERROR 1: Layer ACHARE already exists, CreateLayer failed.
Use the layer creation option OVERWRITE=YES to replace it.
ERROR 1: Terminating translation prematurely after failed
translation of layer ACHARE
Is it possible to run ogr2ogr multiple times to import different s-57
data cells into postgis?
Regards,
- Tore.
More information about the Gdal-dev
mailing list