<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 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 <table_name> and the result is:</FONT></DIV><DIV><FONT color=#ff0000></FONT> </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>    GEOGCS["NTF (Paris)",<BR>        DATUM["Nouvelle Triangulation Francaise (Paris) (EPSG ID 6807)",<BR>            SPHEROID["Clarke 1880 (IGN) (EPSG ID 7011)",6378249.2,293.4660212936293951]],<BR>        PRIMEM["Paris",2.596921],<BR>        UNIT["grad",0.01570796326794895]],<BR>    PROJECTION["Lambert Sud France (EPSG OP 18093)"],<BR>    UNIT["Meter",1.0]]<BR>Geometry Column = GEOMETRY1<BR>ID: Integer (10.0)<BR>OGRFeature(TEST_MAPSERVER.PNT):0<BR>  ID (Integer) = 1<BR>  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>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'. <br><BR>msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `PNT'.  File not found or unsupported format. <br></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>  IMAGEPATH "C:\test_mapServ_vb\App_Data\temp"<BR>  IMAGEURL "C:\test_mapServ_vb\App_Data\temp"<BR>END</FONT></P><P><FONT color=#ff0000>LAYER<BR>  NAME "PNT"<BR>  STATUS ON<BR>  TYPE POINT<BR>  CONNECTIONTYPE OGR<BR>  CONNECTION "OCI:<A href="mailto:user/pass@LOCAL10G" target=blank>user/pass@LOCAL10G</A>"<BR>  DATA "PNT"<BR>  CLASS<BR>    STYLE<BR>      COLOR 255 235 190<BR>      OUTLINECOLOR 0 0 0<BR>      SYMBOL 0<BR>    END<BR>  END<BR>END</FONT></P><P><FONT color=#ff0000></FONT> </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> </DIV><DIV><FONT color=#000000>someone can help me plz?</FONT><BR></FONT><BR>Best regards,<BR>Youness 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, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci <br />