[Gdal-dev] OCI driver, database creation error

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Thu Oct 20 06:01:06 EDT 2005


Thanks Frank, that did the trick.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Frank Warmerdam <warmerdam at pobox.com> 19-10-2005 16:14 >>>
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