<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV><FONT color=#000000>Hello,</FONT></DIV><DIV><BR><FONT color=#000000>i compiled ogr and i did some test to verify connection to my oracle&nbsp;database:</FONT></DIV><DIV><FONT color=#000000>i run a command ogrinfo oci:user/pass@db and the result is ok: he displayed a list of my tables.</FONT></DIV><DIV><FONT color=#000000>i run a second command : ogrinfo oci:user/pass@db &lt;table_name&gt; and the result is:</FONT></DIV><DIV><FONT color=#ff0000></FONT>&nbsp;</DIV><DIV><FONT color=#ff0000>Layer name: TEST_MAPSERVER.PNT<BR>Geometry: <STRONG>Unknown (any)<BR></STRONG>Feature Count: 1<BR>Extent: (867840.129169, 325739.403081) - (867840.129169, 325739.403081)<BR>Layer SRS WKT:<BR>PROJCS["NTF (Paris) / Lambert Sud France",<BR>&nbsp;&nbsp;&nbsp; GEOGCS["NTF (Paris)",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATUM["Nouvelle Triangulation Francaise (Paris) (EPSG ID 6807)",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID["Clarke 1880 (IGN) (EPSG ID 7011)",6378249.2,293.4660212936293951]],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PRIMEM["Paris",2.596921],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNIT["grad",0.01570796326794895]],<BR>&nbsp;&nbsp;&nbsp; PROJECTION["Lambert Sud France (EPSG OP 18093)"],<BR>&nbsp;&nbsp;&nbsp; UNIT["Meter",1.0]]<BR>Geometry Column = GEOMETRY1<BR>ID: Integer (10.0)<BR>OGRFeature(TEST_MAPSERVER.PNT):0<BR>&nbsp; ID (Integer) = 1<BR>&nbsp; POINT (867840.12916935398 325739.40308143501 0)</FONT></DIV><P><FONT color=#000000>when i want to test my mapfile with a command shp2img i have an error msg : </FONT></P><P><FONT color=#ff0000>C:\MS4W\tools\mapserv&gt;shp2img -m C:\test_mapServ_vb\App_Data\vbmapfileOracle.map -i png -o C:\test_m<BR>apServ_vb\App_Data\temp\testmap.png -all_debug 1<BR>msDrawMap(): Image handling error. Failed to draw layer named 'PNT'. &lt;br&gt;<BR>msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `PNT'.&nbsp; File not found or unsupported format. &lt;br&gt;</FONT></P><P><FONT color=#000000>my mapfile : </FONT></P><P><FONT color=#ff0000>MAP</FONT></P><P><FONT color=#ff0000>NAME "local10g"<BR>SIZE 400 400<BR>STATUS ON<BR>EXTENT 867840 325739 900840 400739<BR>UNITS METERS <BR>CONFIG "MS_ERRORFILE" "/ms4w/ms_error.txt"<BR>DEBUG 2<BR>WEB<BR>&nbsp; IMAGEPATH "C:\test_mapServ_vb\App_Data\temp"<BR>&nbsp; IMAGEURL "C:\test_mapServ_vb\App_Data\temp"<BR>END</FONT></P><P><FONT color=#ff0000>LAYER<BR>&nbsp; NAME "PNT"<BR>&nbsp; STATUS ON<BR>&nbsp; TYPE POINT<BR>&nbsp; CONNECTIONTYPE&nbsp;OGR<BR>&nbsp; CONNECTION "OCI:<A href="mailto:user/pass@LOCAL10G" target=blank>user/pass@LOCAL10G</A>"<BR>&nbsp; DATA "PNT"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 235 190<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 0<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR>END</FONT></P><P><FONT color=#ff0000></FONT>&nbsp;</P><P><FONT color=#ff0000>END</FONT></P><FONT color=#ff0000><DIV><FONT color=#000000>when i tried with oraclespatial, it's work.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>someone can help me plz?</FONT><BR></FONT><BR>Best regards,<BR>Youness&nbsp;ELMEDRAOUI</DIV></FONT>Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage&#44; reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas&#44; veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci <br />