[gdal-dev] Convert a csv text file in a dbf file

Even Rouault even.rouault at mines-paris.org
Sun Jul 21 01:56:45 PDT 2013


Le dimanche 21 juillet 2013 02:08:58, aperi2007 a écrit :
> Hi, Rouault
> 
> it work well.
> 
> I see it want necessary the first line with titles.
> To avoid it the docs say to use an integer field.
> This is not my situation.
> I have a file with all text fileds but without a title in the first line.
> 
> There is a parameter to avoid the first line of fileds-name ?

Andrea,

No, there isn't such a parameter in the CSV driver. If you just have one file 
to convert, the easiest solution is to take your favorite text editor and add 
a first line that will server as the header line :
column1,column2,...

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list