Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to associate a .csvt file with a .csv file, so QGIS doesn't insist on calling all the fields text strings (thereby preventing the use of graduated symbols). I used the syntax described by other answers here and on other sites in the .csvt file, ie: "String","Integer","Integer" etc. I saved it in Text Editor on my Mac with the same name as the .csv file and in the same folder.

For whatever reason, QGIS is not recognizing the .csvt file's information and continues to deem every field of the .csv file a text string. I do not know if this is the fault of the Text Editor not recognizing the file format, or of QGIS not recognizing the .csvt when it ought to.

Anyone have troubleshooting ideas or work-arounds?

share|improve this question

closed as too localized by underdark Nov 6 '12 at 16:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

the csvt parser is very picky. make sure that the file contains no extra characters or weird forms of ". try a different editor if it doesn't work – underdark Nov 5 '12 at 19:54
Tried Text Wrangler and got results. Thanks! – Kristen Nov 6 '12 at 15:14
I'm having the same issue with no resolution – XNSTT Jun 23 '14 at 15:42
After extensive efforts with Mac OSX I have found that the culprit is Microsoft Excel, QGIS will not read .csv data with a .csvt if the .csv was exported from Microsoft Excel. My solution has been to use open office to export the .csv from the .xls file. 100% reliable for me now. – XNSTT Jul 28 '14 at 12:47

Browse other questions tagged or ask your own question.