<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=399271913-23072008><FONT face=Arial color=#0000ff size=2>It is 
possible that the ogr in your FWTools installation supports additional formats 
that the ogr from MS4W doesn't.&nbsp; </FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Derek 
  Bain<BR><B>Sent:</B> Wednesday, July 23, 2008 8:16 AM<BR><B>To:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Subject:</B> [mapserver-users] More info 
  on DCN problem and possible gdal/ogrproblem<BR><BR></FONT></DIV>
  <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
  <DIV>Hi<BR><BR>If I run the command<BR><BR>ogrinfo -ro -summary 
  gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030 
  "hydarea@hyd(*)_area" <BR><BR>from C:\Program Files\FWTools2.2.0\bin i 
  get<BR><BR>INFO: Open of 
  `gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  using driver `OGDI' successful.<BR><BR>Layer name: 
  hydarea@hyd(*)_area<BR>Geometry: Polygon<BR>&lt;snip&gt;<BR><BR>HOWEVER, if I 
  run it from C:\ms4w\tools\gdal-ogr i get<BR><BR>FAILURE:<BR>Unable to open 
  datasource `gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H<BR>1316030' 
  with the following drivers.<BR><BR>&nbsp; ESRI 
  Shapefile<BR>&lt;snip&gt;<BR>&nbsp;&nbsp;&nbsp; 
  OGDI<BR>&lt;snip&gt;<BR><BR><BR>I can change the path in SetEnv.bat but this 
  only works for the command line. MapServer still seems to use the files in 
  C:\ms4w\tools\gdal-ogr.<BR><BR>I copied the existing contents of the 
  C:\ms4w\tools\gdal-ogr folder to a temp folder and then copied the contents of 
  C:\Program Files\FWTools2.2.0\bin to gdal-org folder. gdalinfo now works but 
  the shp2img still fails with a "... OGR error. Open failed for OGR connection 
  .... " error message.&nbsp; Also I noticed that ogr2ogr pops up a windows 
  message box informing me that ogr2ogr.exe is not a valid Win32 
  application<BR><BR>Has anyone had similar problems, understands what is 
  happening or has any 
  thoughts<BR><BR>thanks<BR><BR>Derek<BR><BR><BR></DIV></DIV><BR>
  <HR SIZE=1>
  Not happy with your email address? <BR><A 
  href="http://uk.docs.yahoo.com/ymail/new.html">Get the one you really want</A> 
  - millions of new email addresses available now at <A 
  href="http://uk.docs.yahoo.com/ymail/new.html">Yahoo!</A></BLOCKQUOTE></BODY></HTML>