[FWTools] unable to open datasource

Frank Warmerdam warmerdam at pobox.com
Mon Jun 29 23:08:46 EST 2009


ydna60 at hotmail.com wrote:
> using  ogrinfo trying to view shapefile metadata...the following[long list]
> of drivers fails.
> 
> do i need to have the shapefile opened ina particular view to get the
> metadata using the shell.  Does the file need to be open in uDIG view, qGIS
> view or FWTools view?

Ydna60,

You should use ogrinfo in the FWTools Shell console window.

> What about the accompanying files(shx or dbf)?  Should they be opened along
> with the .shp file?

To be accessed successfully you must have the .shp, .shx and .dbf files all
in the same directory.  You should use the name of the .shp file as the
argument to ogrinfo, but the others will also be read.

I hope this helps.

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