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

Fawcett, David David.Fawcett at state.mn.us
Wed Jul 23 09:20:30 EDT 2008


It is possible that the ogr in your FWTools installation supports
additional formats that the ogr from MS4W doesn't.  

	-----Original Message-----
	From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Derek Bain
	Sent: Wednesday, July 23, 2008 8:16 AM
	To: mapserver-users at lists.osgeo.org
	Subject: [mapserver-users] More info on DCN problem and possible
gdal/ogrproblem
	
	
	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
<http://uk.docs.yahoo.com/ymail/new.html>  - 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/d2eb810a/attachment.html


More information about the mapserver-users mailing list