[Gdal-dev] ogr2ogr Unable to open datasource
mateusz at loskot.net
Tue Oct 31 17:22:25 EST 2006
Ryan Ollerenshaw wrote:
>> Because as far as OGR knows the csv file is non-spatial, so when it
>> the "shapefile" it just creates the .dbf file and no spatial files.
>> If you want to treat the first two columns as a point location you
>> need to
>> follow extra steps (ie. using an OGR VRT file) to turn them into a
>> Best regards,
> 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:
There was similar problem discussed a few a week ago.
Here is explanation of how to work with CSV through VRT:
More information about the Gdal-dev