Skip to content

Instantly share code, notes, and snippets.

@macoj
Created October 1, 2018 12:26
Show Gist options
  • Save macoj/e83e8835e13c3111591baee9bad36a9a to your computer and use it in GitHub Desktop.
Save macoj/e83e8835e13c3111591baee9bad36a9a to your computer and use it in GitHub Desktop.
including type in csv file

Use a .csvt with the same file name, including just one line about each column:

"Integer","Real","String"

or

"Integer(6)","Real(5.5)","String(22)"

www.gdal.org/ogr/drv_csv.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment