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.specimens.xml.ref
146 146
        <locationevent>
147 147
            <taxonoccurrence>
148 148
                <aggregateoccurrence>
149
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
149
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
150 150
                    <plantobservation>
151 151
                        <definedvalue fkey="tablerecord_id">
152 152
                            <userdefined_id>

Also available in: Unified diff