[gdal-dev] Error Oracle -lco options

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Aug 6 03:23:27 PDT 2013


Simon Mercier <smercier <at> mapgears.com> writes:

> 
> 
>     Hi list
>     I have to upload data  (same problem with shapefiles and gml) in
>     Oracle with ogr2ogr and I got an error when I specify any -lco
>     option.  If I don't add -lco in command line, data is uploaded
>     without error.  Anyone have an idea?
>     thank's

Hi,

My idea is that perhaps the hyphen-minus character before "lco" in your
command is actually some other character which looks similar. Therefore
ogr2ogr does not recognise than now starts the 'layer creation option' but
it believes that the whole string '–lco' means the layer name inside your
GML file which is naturally not found. Similar things happen to me with
hyphens and quotes if I copy-paste commands from web pages or Word or
OpenOffice documents. This may feel stupid, but try what happens if you
rewrite your command as it is from the keyboard.

Regards,

-Jukka Rahkonen-





More information about the gdal-dev mailing list