[Gdal-dev] ogr2ogr Unable to open datasource

Ryan Ollerenshaw ollerery at engr.orst.edu
Tue Oct 31 12:17:13 EST 2006


Bart van den Eijnden (OSGIS) wrote:
> Your filename extension is cvs, are you sure it should not be csv?
>
> Best regards,
> Bart
>
Yes it did just appear to be a typo,But i am running into a new problem, 
the command:
ogr2ogr -f "ESRI Shapefile" thick18.shp thick18_test.csv
only seems to create a dbf file, why is there no shp file created?

> Ryan Ollerenshaw schreef:
>> I keep getting the following error:
>>
>> $ ogr2ogr -f "ESRI Shapefile" thick18.shp thick18_test.cvs
>> FAILURE:
>> Unable to open datasource `thick18_test.cvs' with the following drivers.
>>  -> ESRI Shapefile
>>  -> MapInfo File
>>  -> UK .NTF
>>  -> SDTS
>>  -> TIGER
>>  -> S57
>>  -> DGN
>>  -> VRT
>>  -> AVCBin
>>  -> REC
>>  -> Memory
>>  -> CSV
>>  -> GML
>>  -> PostgreSQL
>>
>>
>> My CSV file looks like this:
>> -180,90.00,0.00,4.84
>> -179,90.00,0.00,4.84
>> -178,90.00,0.00,4.84
>> -177,90.00,0.00,4.84
>> -176,90.00,0.00,4.84
>> -175,90.00,0.00,4.84
>>
>> I am not sure why i am getting an unable to open datasource, any 
>> ideas on what i could be doing wrong would be much appreciated.
>>
>>
>
>




More information about the Gdal-dev mailing list