Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$GlobalUniqueIdentifier</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>
15
                                    <_alt>
16
                                        <1>$CatalogNumberNumeric</1>
17
                                        <2>$CatalogNumber</2>
18
                                    </_alt>
19
                                </3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_avg>
26
                        <max>$MaximumElevationInMeters</max>
27
                        <min>$MinimumElevationInMeters</min>
28
                    </_avg>
29
                </elevation_m>
30
                <locationcoords>
31
                    <coordsaccuracy_deg><_noCV><value>$CoordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
32
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
33
                    <latitude_deg>
34
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$DecimalLatitude</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$DecimalLongitude</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <collectiondate>
52
                                <_alt>
53
                                    <1><_date><date>$VerbatimCollectingDate</date></_date></1>
54
                                    <2>
55
                                        <_date>
56
                                            <day>
57
                                                <_nullIf>
58
                                                    <null>0</null>
59
                                                    <type>float</type>
60
                                                    <value>$DayCollected</value>
61
                                                </_nullIf>
62
                                            </day>
63
                                            <month>
64
                                                <_nullIf>
65
                                                    <null>0</null>
66
                                                    <type>float</type>
67
                                                    <value>$MonthCollected</value>
68
                                                </_nullIf>
69
                                            </month>
70
                                            <year>
71
                                                <_nullIf>
72
                                                    <null>0</null>
73
                                                    <type>float</type>
74
                                                    <value>$YearCollected</value>
75
                                                </_nullIf>
76
                                            </year>
77
                                        </_date>
78
                                    </2>
79
                                </_alt>
80
                            </collectiondate>
81
                            <count>$IndividualCount</count>
82
                            <notes>$FieldNotes</notes>
83
                            <plantobservation>
84
                                <collectionnumber>$CollectorNumber</collectionnumber>
85
                                <definedvalue fkey="tablerecord_id">
86
                                    <userdefined_id>
87
                                        <userdefined>
88
                                            <tablename>plantobservation</tablename>
89
                                            <userdefinedname>sex</userdefinedname>
90
                                        </userdefined>
91
                                    </userdefined_id>
92
                                    <definedvalue>$Sex</definedvalue>
93
                                </definedvalue>
94
                                <specimenreplicate>
95
                                    <catalognumber_dwc>
96
                                        <_alt>
97
                                            <1>$CatalogNumberNumeric</1>
98
                                            <2>$CatalogNumber</2>
99
                                        </_alt>
100
                                    </catalognumber_dwc>
101
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
102
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
103
                                    <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
104
                                </specimenreplicate>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
108
                        <taxondetermination>
109
                            <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
110
                            <taxonverbatim_id>
111
                                <taxonverbatim>
112
                                    <taxonlabel_id>
113
                                        <taxonlabel>
114
                                            <matched_label_id>
115
                                                <taxonlabel>
116
                                                    <creator_id>
117
                                                        <party>
118
                                                            <creator_id>0</creator_id>
119
                                                            <organizationname>TNRS</organizationname>
120
                                                        </party>
121
                                                    </creator_id>
122
                                                    <taxonomicname>
123
                                                        <_alt>
124
                                                            <1>$ScientificNameAuthor</1>
125
                                                            <2>
126
                                                                <_alt>
127
                                                                    <1>$ScientificName</1>
128
                                                                    <2>
129
                                                                        <_join_words>
130
                                                                            <1>$Family</1>
131
                                                                            <2>$Genus</2>
132
                                                                            <3>$Species</3>
133
                                                                            <4>$Subspecies</4>
134
                                                                        </_join_words>
135
                                                                    </2>
136
                                                                </_alt>
137
                                                            </2>
138
                                                        </_alt>
139
                                                    </taxonomicname>
140
                                                </taxonlabel>
141
                                            </matched_label_id>
142
                                            <creationdate>
143
                                                <_date>
144
                                                    <day>
145
                                                        <_nullIf>
146
                                                            <null>0</null>
147
                                                            <type>float</type>
148
                                                            <value>$DayIdentified</value>
149
                                                        </_nullIf>
150
                                                    </day>
151
                                                    <month>
152
                                                        <_nullIf>
153
                                                            <null>0</null>
154
                                                            <type>float</type>
155
                                                            <value>$MonthIdentified</value>
156
                                                        </_nullIf>
157
                                                    </month>
158
                                                    <year>
159
                                                        <_nullIf>
160
                                                            <null>0</null>
161
                                                            <type>float</type>
162
                                                            <value>$YearIdentified</value>
163
                                                        </_nullIf>
164
                                                    </year>
165
                                                </_date>
166
                                            </creationdate>
167
                                            <creator_id>
168
                                                <_simplifyPath>
169
                                                    <next>creator_id</next>
170
                                                    <path><party><fullname>$IdentifiedBy</fullname></party></path>
171
                                                </_simplifyPath>
172
                                            </creator_id>
173
                                            <parent_id>
174
                                                <taxonlabel>
175
                                                    <parent_id>
176
                                                        <taxonlabel>
177
                                                            <rank>cultivar</rank>
178
                                                            <parent_id>
179
                                                                <taxonlabel>
180
                                                                    <rank>forma</rank>
181
                                                                    <parent_id>
182
                                                                        <taxonlabel>
183
                                                                            <rank>variety</rank>
184
                                                                            <parent_id>
185
                                                                                <taxonlabel>
186
                                                                                    <rank>subspecies</rank>
187
                                                                                    <taxonepithet>$Subspecies</taxonepithet>
188
                                                                                    <parent_id>
189
                                                                                        <taxonlabel>
190
                                                                                            <rank>species</rank>
191
                                                                                            <taxonepithet>$Species</taxonepithet>
192
                                                                                            <parent_id>
193
                                                                                                <taxonlabel>
194
                                                                                                    <rank>genus</rank>
195
                                                                                                    <taxonepithet>$Genus</taxonepithet>
196
                                                                                                    <parent_id>
197
                                                                                                        <taxonlabel>
198
                                                                                                            <rank>family</rank>
199
                                                                                                            <taxonepithet>$Family</taxonepithet>
200
                                                                                                            <parent_id>
201
                                                                                                                <taxonlabel>
202
                                                                                                                    <rank>order</rank>
203
                                                                                                                    <taxonepithet>$Order</taxonepithet>
204
                                                                                                                    <parent_id>
205
                                                                                                                        <taxonlabel>
206
                                                                                                                            <rank>class</rank>
207
                                                                                                                            <taxonepithet>$Class</taxonepithet>
208
                                                                                                                            <parent_id>
209
                                                                                                                                <taxonlabel>
210
                                                                                                                                    <rank>phylum</rank>
211
                                                                                                                                    <taxonepithet>$Phylum</taxonepithet>
212
                                                                                                                                    <parent_id>
213
                                                                                                                                        <taxonlabel>
214
                                                                                                                                            <rank>kingdom</rank>
215
                                                                                                                                            <taxonepithet>$Kingdom</taxonepithet>
216
                                                                                                                                        </taxonlabel>
217
                                                                                                                                    </parent_id>
218
                                                                                                                                </taxonlabel>
219
                                                                                                                            </parent_id>
220
                                                                                                                        </taxonlabel>
221
                                                                                                                    </parent_id>
222
                                                                                                                </taxonlabel>
223
                                                                                                            </parent_id>
224
                                                                                                        </taxonlabel>
225
                                                                                                    </parent_id>
226
                                                                                                </taxonlabel>
227
                                                                                            </parent_id>
228
                                                                                        </taxonlabel>
229
                                                                                    </parent_id>
230
                                                                                </taxonlabel>
231
                                                                            </parent_id>
232
                                                                        </taxonlabel>
233
                                                                    </parent_id>
234
                                                                </taxonlabel>
235
                                                            </parent_id>
236
                                                        </taxonlabel>
237
                                                    </parent_id>
238
                                                </taxonlabel>
239
                                            </parent_id>
240
                                            <taxonomicname>
241
                                                <_alt>
242
                                                    <1>$ScientificNameAuthor</1>
243
                                                    <2>
244
                                                        <_alt>
245
                                                            <1>$ScientificName</1>
246
                                                            <2>
247
                                                                <_join_words>
248
                                                                    <1>$Family</1>
249
                                                                    <2>$Genus</2>
250
                                                                    <3>$Species</3>
251
                                                                    <4>$Subspecies</4>
252
                                                                </_join_words>
253
                                                            </2>
254
                                                        </_alt>
255
                                                    </2>
256
                                                </_alt>
257
                                            </taxonomicname>
258
                                        </taxonlabel>
259
                                    </taxonlabel_id>
260
                                    <binomial>$ScientificName</binomial>
261
                                    <family>$Family</family>
262
                                    <genus>$Genus</genus>
263
                                    <species>$Species</species>
264
                                    <taxonomicname>$ScientificNameAuthor</taxonomicname>
265
                                </taxonverbatim>
266
                            </taxonverbatim_id>
267
                            <determinationdate>
268
                                <_date>
269
                                    <day>
270
                                        <_nullIf>
271
                                            <null>0</null>
272
                                            <type>float</type>
273
                                            <value>$DayIdentified</value>
274
                                        </_nullIf>
275
                                    </day>
276
                                    <month>
277
                                        <_nullIf>
278
                                            <null>0</null>
279
                                            <type>float</type>
280
                                            <value>$MonthIdentified</value>
281
                                        </_nullIf>
282
                                    </month>
283
                                    <year>
284
                                        <_nullIf>
285
                                            <null>0</null>
286
                                            <type>float</type>
287
                                            <value>$YearIdentified</value>
288
                                        </_nullIf>
289
                                    </year>
290
                                </_date>
291
                            </determinationdate>
292
                            <notes>$Remarks</notes>
293
                            <taxonfit>$IdentificationModifier</taxonfit>
294
                        </taxondetermination>
295
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
296
                    </taxonoccurrence>
297
                    <waterdepth_m>
298
                        <_avg>
299
                            <max>$MaximumDepthInMeters</max>
300
                            <min>$MinimumDepthInMeters</min>
301
                        </_avg>
302
                    </waterdepth_m>
303
                </locationevent>
304
                <locationnarrative>$Locality</locationnarrative>
305
                <locationplace>
306
                    <placepath_id>
307
                        <placepath>
308
                            <continent>$ContinentOcean</continent>
309
                            <country>$Country</country>
310
                            <county>$County</county>
311
                            <stateprovince>$StateProvince</stateprovince>
312
                        </placepath>
313
                    </placepath_id>
314
                </locationplace>
315
            </location>
316
        </path>
317
    </_simplifyPath>
318
</VegBIEN>
319
Inserted 41 new rows into database
(5-5/6)