OGR and oracle (MS4W 1.5)

Frank Warmerdam warmerdam at POBOX.COM
Mon Apr 3 12:29:07 EDT 2006


listuser HH wrote:
> Hi Frank,
> 
> thanks for the answer. You are right something in the connection is 
> failing. I used SrcLayer for the data source definition - when I use 
> SrcSQL with a "select * .." it works.

Norbert,

The datasource definition (OCI:...) should go in the SrcDataSource tag.
The SrcLayer should contain the name of the table you wish to operate on.
You might want to use ogrinfo against the datasource to ensure that you
are using the right name for the layer (table) as it might contain
prefixes.

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    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list