[Gdal-dev] ogr2ogr Unable to open datasource
Frank Warmerdam
warmerdam at pobox.com
Tue Oct 31 14:03:08 EST 2006
Ryan Ollerenshaw wrote:
> Thank you for the help but the documentation for using an OGR VRT file
> does not seem to be clear. I created a ovf file (see below) and ran
> # ogr2ogr -f "ESRI Shapefile" thick18.shp thick18.cvs
> but still no change only a dbf file is created. I do not see in the VRT
> documentation how to use the ovf file.
>
> Resources I have found:
> http://gdal.maptools.org/ogr/drv_vrt.html
> http://mapserver.gis.umn.edu/docs/reference/vector_data/VirtualSpatialData
Ryan,
You would use the .ovf file as the input file.
eg.
ogr2ogr -f "ESRI Shapefile" thick18.shp thick18.ovf
The OGR VRT driver will then open the referenced .csv file, and transform
the features read from it to have a spatial component.
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 | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list