[Gdal-dev] OCI driver, database creation error

Frank Warmerdam warmerdam at pobox.com
Wed Oct 19 10:14:01 EDT 2005


On 10/19/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
> Hi list,
>
> what does OGR mean with the following error and how can I fix it?
>
> I have a database up and running, and it has the necessary MDSYS SDO_ tables.
>
> D:\test>ogr2ogr ogr2ogr -f OCI OCI:system/oracle at PORCL percelen_region.shp
> ERROR 1: Oracle driver doesn't currently support database creation.
> Please create database with Oracle tools before loading tables.
> OCI driver failed to create ogr2ogr

Bart,

You need to use the -update flag to indicate that you aren't
trying to create the OCI database, just open an existing one
to write into.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list