Ticket #1761 (closed enhancement: fixed)
CSV driver: Date, Time, DateTime added - patch
| Reported by: | neteler | Owned by: | mloskot |
|---|---|---|---|
| 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
Change History
Note: See
TracTickets for help on using
tickets.

