When I try to import a csv file into a PostgreSQL table with the Gdal ogr2ogr tool I get the "Unable to open datasource" Failure.So I tried to open it with the tool ogrinfo and I get the same Failure.
I use it in a Ubuntu 10.10, with the package gdal-bin version 1.6.3-4build1.
This is the command:
> ogrinfo test.csvFAILURE:Unable to open datasource `test.csv' with the following drivers. -> ESRI Shapefile ... -> CSV ...This is the content of the "test.csv" file:
col1;col2;col3;col41;a;row1;112;b;row2;223;c;row3;334;d;row4;445;e;row5;556;f;row6;66Any help?
EDIT: Could it be the version of gdal bin? kind of old OS I know..
Thank you very much.
أكثر...
I use it in a Ubuntu 10.10, with the package gdal-bin version 1.6.3-4build1.
This is the command:
> ogrinfo test.csvFAILURE:Unable to open datasource `test.csv' with the following drivers. -> ESRI Shapefile ... -> CSV ...This is the content of the "test.csv" file:
col1;col2;col3;col41;a;row1;112;b;row2;223;c;row3;334;d;row4;445;e;row5;556;f;row6;66Any help?
EDIT: Could it be the version of gdal bin? kind of old OS I know..
Thank you very much.
أكثر...