Creating CSVT on Mac

A CSVT file is just a plain text file that you create with the extension .csvt. The file has a single line with the types for each column:

"Integer","Real","String"

Make sure there are no spaces between each , or type.


You have to find a programme, where you can write the extention by hand. For windows you can do it in Gedit. First you type the line "Integer","real",... and so on, as it is written in previous answer and after clicking 'save as' you delete the given extention and type 'csvt' for example programme gives 'fields.txt' then you delete 'txt' and write csvt instead to get 'fields.csvt'. Then you click save. It worked for me. Good luck!

Tags:

Csv

Qgis

Mac