Project

General

Profile

« Previous | Next » 

Revision 3919

VegBIEN mappings: Wrapped dates in _date() and _dateRangeStart()/_dateRangeEnd(), to assist in importing date and date range values that PostgreSQL cannot parse. This will increase the import time, but hopefully also decrease the # of invalid values in the errors tables. (These functions can later be optimized to reduce the impact on import time.)

View differences:

import.plots.xml.ref
95 95
                    </commconcept_id>
96 96
                </commdetermination>
97 97
            </commclass>
98
            <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
99
            <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
98
            <obsenddate><_date><date><_dateRangeEnd><value><_date><date>$date_finish</date></_date></value></_dateRangeEnd></date></_date></obsenddate>
99
            <obsstartdate><_date><date><_dateRangeStart><value><_date><date>$date_start</date></_date></value></_dateRangeStart></date></_date></obsstartdate>
100 100
            <precipitation>$Precip</precipitation>
101 101
            <soilobs>
102 102
                <acidity>

Also available in: Unified diff