Opened 8 years ago

Closed 8 years ago

#6305 closed defect (fixed)

Incorrect loading of csv files

Reported by: pcav Owned by: warmerdam
Priority: normal Milestone: 1.11.4
Component: default Version: unspecified
Severity: normal Keywords:


See for details and sample data

Change History (2)

comment:1 by Jukka Rahkonen, 8 years ago

There may be a bug in the automatic field detection but it is be useful to know that there exists open option HEADERS=YES/NO/AUTO (default AUTO) (GDAL >= 2.1) that makes GDAL to read the sample data correctly.

ogrinfo -oo headers=yes test.csv test

comment:2 by Even Rouault, 8 years ago

Milestone: 1.11.4
Resolution: fixed
Status: newclosed

Was indeed a bug in the detection if the first line if a header line or a value line.

Fixed with trunk r32961, branches/2.0 r32962, branches/1.11 r32963 "Fix CPLGetValueType() to recognize "D1" as a string and not a real number (#6305)"

Note: See TracTickets for help on using tickets.