<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear list,<br>
<br>
I have a problem with the oracle access via ogr.<br>
Beforehand: with orginfo and shp2img everthing works fine. I get my
geometries as well as images. Examples:<br>
<blockquote><i><small>orginfo --formats shows -> "OCI"
(read/write)</small></i><br>
<i><small>ogrinfo -al oci:usr/pwd@gspp:table -geom=SUMMARY</small></i><br>
<i><small>shp2img -m test.map -o output.png -all_debug 5 -e 523600
5549800 581900 5639700 -l strom</small></i><br>
</blockquote>
With mapserver via getmap request i get the following error:<br>
<blockquote><i><small>[Fri Jul 18 10:21:13 2014].50000
msOGRFileOpen(OCI:xxx/xxx@GSPP:TAALBF_NETZGEBIET)...</small></i><br>
<i><small>[Fri Jul 18 10:21:13 2014].50000
OGROPen(OCI:xxx/xxx@GSPP:TAALBF_NETZGEBIET)</small></i><br>
<i><small>[Fri Jul 18 10:21:13 2014].51000 msOGRFileOpen(): OGR
error. Open failed for OGR connection in layer `strom'. File
not found or unsupported format.</small></i><br>
<i><small>[Fri Jul 18 10:21:13 2014].55000 msDrawMap(): Image
handling error. Failed to draw layer named 'strom'.</small></i><br>
</blockquote>
My mapfile (partial):<br>
<blockquote><i><small> LAYER</small></i><br>
<i><small> DEBUG 5</small></i><br>
<i><small> NAME "strom"</small></i><br>
<i><small> TYPE POLYGON</small></i><br>
<i><small> CONNECTIONTYPE OGR</small></i><br>
<i><small> CONNECTION "OCI:</small></i><i><small><i><small>:usr/pwd</small></i>@GSPP"</small></i><br>
<i><small> DATA "TAALBF_NETZGEBIET"</small></i><br>
<i><small> METADATA</small></i><br>
<i><small> "ows_title" "xxx"</small></i><br>
<i><small> "ows_abstract" "xxx"</small></i><br>
<i><small> "ows_extent" "523600 5549800 581900 5639700"</small></i><br>
<i><small> END</small></i><br>
<i><small> CLASS</small></i><br>
<i><small> STYLE</small></i><br>
<i><small> OUTLINECOLOR 0 0 0</small></i><br>
<i><small> COLOR 255 0 0</small></i><br>
<i><small> WIDTH 2</small></i><br>
<i><small> END</small></i><br>
<i><small> END</small></i><br>
<i><small> END</small></i><br>
</blockquote>
I work on Windows Server 2012 Datacenter with Mapserver 6.4.1 and
GDAL 1.11.0 (from release-1600-x64-gdal-1-11-mapserver-6-4).<br>
I have also tested older versions. without success.<br>
<br>
I set a lot of system variables:<br>
set path=C:\Apps\Oracle.112.x64\bin;<br>
set ORACLE_HOME=C:\Apps\Oracle.112.x64<br>
set GDAL_DRIVER_PATH=D:\webgis\mapserver-6-4-1\bin\gdal\plugins<br>
set GDAL_DATA=D:\Temp\mapserver-6-4-1\bin\gdal-data<br>
set LD_LIBRARY_PATH=C:\Apps\Oracle.112.x64\lib;<br>
set TNS_ADMIN=C:\Apps\Oracle.112.x64\network\ADMIN<br>
set ORACLE_SID=GSPP<br>
set ORACLE_BASE=C:\Apps\Oracle.112.x64<br>
<br>
<span class="hps">Why</span> <span class="hps">the</span> <span
class="hps">mapserver</span> <span class="hps">gives me</span> <span
class="hps">no bitmap?<br>
<br>
Thanks a lot<br>
<br>
Dietmar<br>
</span>
</body>
</html>