[Gdal-dev] Ogr2Ogr

Tyler Mitchell tjmitchell at riverside.bc.ca
Tue Jul 13 11:17:43 EDT 2004


That's sounds strange to me too.
Perhaps try changing your slashes like:
c:/ogr/test.shp
and see it that helps.

gdal-dev-bounces at xserve.flids.com wrote on 07/12/2004 02:39:09 PM:

> Hi,
> 
> I am new to this program but I am getting on OK.
> 
> I can specify ogr2ogr -f "MapInfo File" -dsco FORMAT=MIF C:
> \ogr\test.mif test.tab and all works fine
> 
> But when I try ogr2ogr -f "ESRI Shapefile" C:\ogr\test.shp c:
> \ogr\test.mif    it does not work.
> It fails with the following message:-
> 
> Error 4: Failed to open shapefile C:\ogrC:\ogr\test.shp.
> 
> Error 1: terminating translation. 
> 
> Note I have correctly given the error message in Error 4! It does 
> not like path names. I can do in the same directory with path names 
> and it works fine. The directory exists and the MIF file contains only 
points.
> 
> Does any know what is happening?
> 
> Many thanks
> 
> Martin
>  _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list