Project

General

Profile

« Previous | Next » 

Revision 4562

mappings/VegCore-VegBIEN.csv: Don't map dateCollected to locationevent.obsstartdate/obsenddate because this is the date the specimen was collected, not the date (range) of the entire collection event. This distinction may not be meaningful for specimens data, but VegBIEN should reflect what the data provider designated. This also reduces the number of dateCollected-related mappings needed for any dateCollected-related field, such as year/month/dayCollected.

View differences:

test.xml.ref
137 137
            </namedplace_id>
138 138
        </locationdetermination>
139 139
        <locationevent>
140
            <obsenddate>
141
                <_date>
142
                    <date>
143
                        <_dateRangeEnd>
144
                            <value>
145
                                <_date>
146
                                    <day>
147
                                        <_nullIf>
148
                                            <null>0</null>
149
                                            <type>float</type>
150
                                            <value>$DayCollected</value>
151
                                        </_nullIf>
152
                                    </day>
153
                                    <month>
154
                                        <_nullIf>
155
                                            <null>0</null>
156
                                            <type>float</type>
157
                                            <value>$MonthCollected</value>
158
                                        </_nullIf>
159
                                    </month>
160
                                    <year>
161
                                        <_nullIf>
162
                                            <null>0</null>
163
                                            <type>float</type>
164
                                            <value>$YearCollected</value>
165
                                        </_nullIf>
166
                                    </year>
167
                                </_date>
168
                            </value>
169
                        </_dateRangeEnd>
170
                    </date>
171
                </_date>
172
            </obsenddate>
173
            <obsstartdate>
174
                <_date>
175
                    <date>
176
                        <_dateRangeStart>
177
                            <value>
178
                                <_date>
179
                                    <day>
180
                                        <_nullIf>
181
                                            <null>0</null>
182
                                            <type>float</type>
183
                                            <value>$DayCollected</value>
184
                                        </_nullIf>
185
                                    </day>
186
                                    <month>
187
                                        <_nullIf>
188
                                            <null>0</null>
189
                                            <type>float</type>
190
                                            <value>$MonthCollected</value>
191
                                        </_nullIf>
192
                                    </month>
193
                                    <year>
194
                                        <_nullIf>
195
                                            <null>0</null>
196
                                            <type>float</type>
197
                                            <value>$YearCollected</value>
198
                                        </_nullIf>
199
                                    </year>
200
                                </_date>
201
                            </value>
202
                        </_dateRangeStart>
203
                    </date>
204
                </_date>
205
            </obsstartdate>
206 140
            <taxonoccurrence>
207 141
                <aggregateoccurrence>
208 142
                    <collectiondate>

Also available in: Unified diff