Opened 17 years ago
Closed 17 years ago
#1761 closed enhancement (fixed)
CSV driver: Date, Time, DateTime added - patch
Reported by: | Markus Neteler | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.3 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | csv |
Cc: | warmerdam |
Description
Frank,
I have extended the OGR-CSV driver to support also Date, Time, DateTime via .csvt file.
cat RR_LOCID000140.csv SOUID,DATE,RR,Q_RR ... 916090,2007-05-31,0,0 cat RR_LOCID000140.csvt "Integer","Date","Real","Integer" ogrinfo RR_LOCID000140.csv RR_LOCID000140 ... OGRFeature(RR_LOCID000140):20605 SOUID (Integer) = 916090 DATE (Date) = 2007/05/31 RR (Real) = 0 Q_RR (Integer) = 0
Works. Also tested with db.in.ogr of GRASS (which calls v.in.ogr).
The rather trivial patch attached including extended documentation.
Best, Markus
Attachments (1)
Change History (8)
by , 17 years ago
Attachment: | ogr_csv_datetime.patch added |
---|
comment:1 by , 17 years ago
Cc: | added |
---|---|
Component: | default → OGR_SF |
Keywords: | csv added |
Milestone: | → 1.5.0 |
Owner: | changed from | to
Mateusz,
Could you integrate this in trunk, and add some appropriate test suite tests for the new features in gdalautotest/ogr/ogr_csv.py?
comment:2 by , 17 years ago
Hi Mateusz,
would you mind to apply this path? Sorry for bothering... If you need any test data, please let me know.
thanks, Markus
comment:3 by , 17 years ago
Status: | new → assigned |
---|
Markus, sorry you've been waiting for the fix so long. This is to be tested and fixed today.
comment:4 by , 17 years ago
Milestone: | 1.5.0 → 1.4.3 |
---|
CSV driver extension for Date,Time,DateTime