[FWTools] can't open datasource

Frank Warmerdam warmerdam at pobox.com
Tue Feb 28 13:53:41 EST 2006


Paul Newby wrote:
> Hi all,
> 
> I've got a new installation of FWTools on linux, and I've
> tried to convert an ERSI format shapefile as per
> http://www.mapki.com/index.php?title=Shapefile_to_Lat/Lon_List
> 
> So in response to
> 
>   ogr2ogr -f "MapInfo File" out.mif myshape.shp

Paul,

This is a bug in the FWTools linux distribution with how arguments
are escaped by the "cover scripts".  You can edit FWTools/bin_safe/ogr2ogr
and change the last line to read:

   $FWTOOLS_HOME/bin/`basename $TARGET` "$@"

This will be fixed in the next FWTools for Linux release.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list