[mapserver-users] More info on DCN problem and possible gdal/ogr problem

Derek Bain beartreeyoga at yahoo.co.uk
Wed Jul 23 09:16:26 EDT 2008


Hi

If I run the command

ogrinfo -ro -summary gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030 "hydarea at hyd(*)_area" 

from C:\Program Files\FWTools2.2.0\bin i get

INFO: Open of `gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030'
      using driver `OGDI' successful.

Layer name: hydarea at hyd(*)_area
Geometry: Polygon
<snip>

HOWEVER, if I run it from C:\ms4w\tools\gdal-ogr i get

FAILURE:
Unable to open datasource `gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H
1316030' with the following drivers.

  ESRI Shapefile
<snip>
    OGDI
<snip>


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.

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.  Also I noticed that ogr2ogr pops up a windows message box informing me that ogr2ogr.exe is not a valid Win32 application

Has anyone had similar problems, understands what is happening or has any thoughts

thanks

Derek


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080723/08ee0b80/attachment.html


More information about the mapserver-users mailing list