Changes between Initial Version and Version 1 of Ticket #2746


Ignore:
Timestamp:
Dec 16, 2008, 10:51:50 AM (15 years ago)
Author:
warmerdam
Comment:

Roni,

Please treat this as your top priority bug report to work on. You will need to review the literature on dbf file date formatting to figure out if there is some systematic way to know date formats in .dbf formats. The OGR Shapefile driver uses shapelib for dbf access (http://shapelib.maptools.org) (also maintained by me), but the date support is quite new. http://www.clicketyclick.dk/databases/xbase/format/ may be a useful resource on dbf formats.

We must take care not to break other dbf files with dates while fixing this ticket. Note that this file is properly supported by some other applications (mapwindow, and excel) which presumably use some microsoft supplied dbf parser.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2746

    • Property Cc warmerdam added
    • Property Component defaultOGR_SRS
    • Property Keywords shape added
    • Property Version unspecified1.6.0
    • Property Owner changed from warmerdam to ashrafroni
  • Ticket #2746 – Description

    initial v1  
    11Inconsistencies in date formats within .dbf's of shapefiles have been noticed when loading a particular .shp in QGIS, OpenJump, MapWindow and OGR.
    22
    3 IRC chat context http://logs.qgis.org/slogs/%23qgis.2008-12-16.log beginning at 09:04:39 by j03lar50n.
     3In particular the sample .dbf file has a installe_1 date field for which the first record is reported by OGR as 0000/00/04 while the actual text in the file (as reported by shapelib's dbfdump) is "04/25/1989".