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
                            <taxonlabel_id>
111
                                <taxonlabel>
112
                                    <matched_label_id>
113
                                        <taxonlabel>
114
                                            <creator_id>
115
                                                <party>
116
                                                    <creator_id>0</creator_id>
117
                                                    <organizationname>TNRS</organizationname>
118
                                                </party>
119
                                            </creator_id>
120
                                            <identifyingtaxonomicname>
121
                                                <_alt>
122
                                                    <1>$ScientificNameAuthor</1>
123
                                                    <2>
124
                                                        <_alt>
125
                                                            <1>$ScientificName</1>
126
                                                            <2>
127
                                                                <_join_words>
128
                                                                    <1>$Family</1>
129
                                                                    <2>$Genus</2>
130
                                                                    <3>$Species</3>
131
                                                                    <4>$Subspecies</4>
132
                                                                </_join_words>
133
                                                            </2>
134
                                                        </_alt>
135
                                                    </2>
136
                                                </_alt>
137
                                            </identifyingtaxonomicname>
138
                                        </taxonlabel>
139
                                    </matched_label_id>
140
                                    <binomial>$ScientificName</binomial>
141
                                    <creationdate>
142
                                        <_date>
143
                                            <day>
144
                                                <_nullIf>
145
                                                    <null>0</null>
146
                                                    <type>float</type>
147
                                                    <value>$DayIdentified</value>
148
                                                </_nullIf>
149
                                            </day>
150
                                            <month>
151
                                                <_nullIf>
152
                                                    <null>0</null>
153
                                                    <type>float</type>
154
                                                    <value>$MonthIdentified</value>
155
                                                </_nullIf>
156
                                            </month>
157
                                            <year>
158
                                                <_nullIf>
159
                                                    <null>0</null>
160
                                                    <type>float</type>
161
                                                    <value>$YearIdentified</value>
162
                                                </_nullIf>
163
                                            </year>
164
                                        </_date>
165
                                    </creationdate>
166
                                    <creator_id>
167
                                        <_simplifyPath>
168
                                            <next>creator_id</next>
169
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
170
                                        </_simplifyPath>
171
                                    </creator_id>
172
                                    <family>$Family</family>
173
                                    <genus>$Genus</genus>
174
                                    <identifyingtaxonomicname>
175
                                        <_alt>
176
                                            <1>$ScientificNameAuthor</1>
177
                                            <2>
178
                                                <_alt>
179
                                                    <1>$ScientificName</1>
180
                                                    <2>
181
                                                        <_join_words>
182
                                                            <1>$Family</1>
183
                                                            <2>$Genus</2>
184
                                                            <3>$Species</3>
185
                                                            <4>$Subspecies</4>
186
                                                        </_join_words>
187
                                                    </2>
188
                                                </_alt>
189
                                            </2>
190
                                        </_alt>
191
                                    </identifyingtaxonomicname>
192
                                    <parent_id>
193
                                        <taxonlabel>
194
                                            <parent_id>
195
                                                <taxonlabel>
196
                                                    <rank>cultivar</rank>
197
                                                    <parent_id>
198
                                                        <taxonlabel>
199
                                                            <rank>forma</rank>
200
                                                            <parent_id>
201
                                                                <taxonlabel>
202
                                                                    <rank>variety</rank>
203
                                                                    <parent_id>
204
                                                                        <taxonlabel>
205
                                                                            <rank>subspecies</rank>
206
                                                                            <taxonepithet>$Subspecies</taxonepithet>
207
                                                                            <parent_id>
208
                                                                                <taxonlabel>
209
                                                                                    <rank>species</rank>
210
                                                                                    <taxonepithet>$Species</taxonepithet>
211
                                                                                    <parent_id>
212
                                                                                        <taxonlabel>
213
                                                                                            <rank>genus</rank>
214
                                                                                            <taxonepithet>$Genus</taxonepithet>
215
                                                                                            <parent_id>
216
                                                                                                <taxonlabel>
217
                                                                                                    <rank>family</rank>
218
                                                                                                    <taxonepithet>$Family</taxonepithet>
219
                                                                                                    <parent_id>
220
                                                                                                        <taxonlabel>
221
                                                                                                            <rank>order</rank>
222
                                                                                                            <taxonepithet>$Order</taxonepithet>
223
                                                                                                            <parent_id>
224
                                                                                                                <taxonlabel>
225
                                                                                                                    <rank>class</rank>
226
                                                                                                                    <taxonepithet>$Class</taxonepithet>
227
                                                                                                                    <parent_id>
228
                                                                                                                        <taxonlabel>
229
                                                                                                                            <rank>phylum</rank>
230
                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
231
                                                                                                                            <parent_id>
232
                                                                                                                                <taxonlabel>
233
                                                                                                                                    <rank>kingdom</rank>
234
                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
235
                                                                                                                                </taxonlabel>
236
                                                                                                                            </parent_id>
237
                                                                                                                        </taxonlabel>
238
                                                                                                                    </parent_id>
239
                                                                                                                </taxonlabel>
240
                                                                                                            </parent_id>
241
                                                                                                        </taxonlabel>
242
                                                                                                    </parent_id>
243
                                                                                                </taxonlabel>
244
                                                                                            </parent_id>
245
                                                                                        </taxonlabel>
246
                                                                                    </parent_id>
247
                                                                                </taxonlabel>
248
                                                                            </parent_id>
249
                                                                        </taxonlabel>
250
                                                                    </parent_id>
251
                                                                </taxonlabel>
252
                                                            </parent_id>
253
                                                        </taxonlabel>
254
                                                    </parent_id>
255
                                                </taxonlabel>
256
                                            </parent_id>
257
                                        </taxonlabel>
258
                                    </parent_id>
259
                                    <species>$Species</species>
260
                                    <taxonomicname>$ScientificNameAuthor</taxonomicname>
261
                                </taxonlabel>
262
                            </taxonlabel_id>
263
                            <determinationdate>
264
                                <_date>
265
                                    <day>
266
                                        <_nullIf>
267
                                            <null>0</null>
268
                                            <type>float</type>
269
                                            <value>$DayIdentified</value>
270
                                        </_nullIf>
271
                                    </day>
272
                                    <month>
273
                                        <_nullIf>
274
                                            <null>0</null>
275
                                            <type>float</type>
276
                                            <value>$MonthIdentified</value>
277
                                        </_nullIf>
278
                                    </month>
279
                                    <year>
280
                                        <_nullIf>
281
                                            <null>0</null>
282
                                            <type>float</type>
283
                                            <value>$YearIdentified</value>
284
                                        </_nullIf>
285
                                    </year>
286
                                </_date>
287
                            </determinationdate>
288
                            <notes>$Remarks</notes>
289
                            <taxonfit>$IdentificationModifier</taxonfit>
290
                        </taxondetermination>
291
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
292
                    </taxonoccurrence>
293
                    <waterdepth_m>
294
                        <_avg>
295
                            <max>$MaximumDepthInMeters</max>
296
                            <min>$MinimumDepthInMeters</min>
297
                        </_avg>
298
                    </waterdepth_m>
299
                </locationevent>
300
                <locationnarrative>$Locality</locationnarrative>
301
                <locationplace>
302
                    <placepath_id>
303
                        <placepath>
304
                            <continent>$ContinentOcean</continent>
305
                            <country>$Country</country>
306
                            <county>$County</county>
307
                            <stateprovince>$StateProvince</stateprovince>
308
                        </placepath>
309
                    </placepath_id>
310
                </locationplace>
311
            </location>
312
        </path>
313
    </_simplifyPath>
314
</VegBIEN>
315
Inserted 39 new rows into database
(5-5/6)