Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am working with QGIS on a Mac, and understand the process for importing a CSV file. But I do not know how to create the CSVT file to define the CSV file's data types. Can someone please instruct me on how to do this?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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:


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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.