GeoCSV

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche

Specification of a 'modern' CSV with a geometry extension of either two neighboring x/y colums or WKT!

CSV file format specification

  • Encoding is UTF-8 by default.
  • First row contains attribut names, separated by => delimiters.
  • Default delimiters (DELIMITER) is semicolon (;).
  • Strings are enclosed by parantheses, to allow delimiters inside (e.g. "string")
  • ...

Supported data types: See CSVT file format specification.


GeoCSV file format specification

GeoCSV is based on CSV.

CSVT file format specification

Field/column types are

  • Integer
  • Real
  • String
  • Date ("YYYY-MM-DD"), Time ("HH:MM:SS+nn") and DateTime (YYYY-MM-DD HH:MM:SS+nn)

See also http://www.gdal.org/drv_csv.html section with .csvt extension.