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