Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NY</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </authorlocationcode>
17
                        <elevation_m>
18
                            <_avg>
19
                                <1>
20
                                    <_nullIf>
21
                                        <null>.</null>
22
                                        <value>$MinimumElevation</value>
23
                                    </_nullIf>
24
                                </1>
25
                                <2>$MaximumElevation</2>
26
                            </_avg>
27
                        </elevation_m>
28
                        <iscultivated>
29
                            <_locationnarrative_is_cultivated>
30
                                <locationnarrative>
31
                                    <_join>
32
                                        <1>
33
                                            <_join>
34
                                                <1>$Locality</1>
35
                                                <2>
36
                                                    <_label>
37
                                                        <label>substrate</label>
38
                                                        <value>$Substrate</value>
39
                                                    </_label>
40
                                                </2>
41
                                                <3>
42
                                                    <_label>
43
                                                        <label>vegetation</label>
44
                                                        <value>$Vegetation</value>
45
                                                    </_label>
46
                                                </3>
47
                                            </_join>
48
                                        </1>
49
                                        <3>$Habitat</3>
50
                                    </_join>
51
                                </locationnarrative>
52
                            </_locationnarrative_is_cultivated>
53
                        </iscultivated>
54
                        <locationevent>
55
                            <taxonoccurrence>
56
                                <aggregateoccurrence>
57
                                    <collectiondate>
58
                                        <_date>
59
                                            <day>
60
                                                <_nullIf>
61
                                                    <null>0</null>
62
                                                    <type>float</type>
63
                                                    <value>$DayCollected</value>
64
                                                </_nullIf>
65
                                            </day>
66
                                            <month>
67
                                                <_nullIf>
68
                                                    <null>0</null>
69
                                                    <type>float</type>
70
                                                    <value>$MonthCollected</value>
71
                                                </_nullIf>
72
                                            </month>
73
                                            <year>
74
                                                <_nullIf>
75
                                                    <null>0</null>
76
                                                    <type>float</type>
77
                                                    <value>$YearCollected</value>
78
                                                </_nullIf>
79
                                            </year>
80
                                        </_date>
81
                                    </collectiondate>
82
                                    <count>$IndividualCount</count>
83
                                    <notes>
84
                                        <_join>
85
                                            <1>$Notes</1>
86
                                            <2>
87
                                                <_label>
88
                                                    <label>plant fungus</label>
89
                                                    <value>$PlantFungDescription</value>
90
                                                </_label>
91
                                            </2>
92
                                        </_join>
93
                                    </notes>
94
                                    <plantobservation>
95
                                        <authorplantcode>$FieldNumber</authorplantcode>
96
                                        <definedvalue fkey="tablerecord_id">
97
                                            <userdefined_id>
98
                                                <userdefined>
99
                                                    <tablename>plantobservation</tablename>
100
                                                    <userdefinedname>sex</userdefinedname>
101
                                                </userdefined>
102
                                            </userdefined_id>
103
                                            <definedvalue>$Sex</definedvalue>
104
                                        </definedvalue>
105
                                        <specimenreplicate>
106
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
107
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
108
                                            <collectionnumber>$FieldNumber</collectionnumber>
109
                                            <institution_id>
110
                                                <sourcelist>
111
                                                    <name>$InstitutionCode</name>
112
                                                    <sourcename>
113
                                                        <name>
114
                                                            <_split>
115
                                                                <separator>[,;] *</separator>
116
                                                                <value>$InstitutionCode</value>
117
                                                            </_split>
118
                                                        </name>
119
                                                    </sourcename>
120
                                                </sourcelist>
121
                                            </institution_id>
122
                                        </specimenreplicate>
123
                                    </plantobservation>
124
                                </aggregateoccurrence>
125
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
126
                                <taxondetermination>
127
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
128
                                    <taxonverbatim_id>
129
                                        <taxonverbatim>
130
                                            <taxonlabel_id>
131
                                                <taxonlabel>
132
                                                    <parent_id>
133
                                                        <taxonlabel>
134
                                                            <parent_id>
135
                                                                <taxonlabel>
136
                                                                    <rank>cultivar</rank>
137
                                                                    <parent_id>
138
                                                                        <taxonlabel>
139
                                                                            <rank>forma</rank>
140
                                                                            <parent_id>
141
                                                                                <taxonlabel>
142
                                                                                    <rank>variety</rank>
143
                                                                                    <parent_id>
144
                                                                                        <taxonlabel>
145
                                                                                            <rank>subspecies</rank>
146
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
147
                                                                                            <parent_id>
148
                                                                                                <taxonlabel>
149
                                                                                                    <rank>species</rank>
150
                                                                                                    <taxonepithet>$Species</taxonepithet>
151
                                                                                                    <parent_id>
152
                                                                                                        <taxonlabel>
153
                                                                                                            <rank>genus</rank>
154
                                                                                                            <taxonepithet>$Genus</taxonepithet>
155
                                                                                                            <parent_id>
156
                                                                                                                <taxonlabel>
157
                                                                                                                    <rank>family</rank>
158
                                                                                                                    <taxonepithet>$Family</taxonepithet>
159
                                                                                                                    <parent_id>
160
                                                                                                                        <taxonlabel>
161
                                                                                                                            <rank>order</rank>
162
                                                                                                                            <taxonepithet>$Order</taxonepithet>
163
                                                                                                                            <parent_id>
164
                                                                                                                                <taxonlabel>
165
                                                                                                                                    <rank>class</rank>
166
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
167
                                                                                                                                    <parent_id>
168
                                                                                                                                        <taxonlabel>
169
                                                                                                                                            <rank>phylum</rank>
170
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
171
                                                                                                                                            <parent_id>
172
                                                                                                                                                <taxonlabel>
173
                                                                                                                                                    <rank>kingdom</rank>
174
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
175
                                                                                                                                                </taxonlabel>
176
                                                                                                                                            </parent_id>
177
                                                                                                                                        </taxonlabel>
178
                                                                                                                                    </parent_id>
179
                                                                                                                                </taxonlabel>
180
                                                                                                                            </parent_id>
181
                                                                                                                        </taxonlabel>
182
                                                                                                                    </parent_id>
183
                                                                                                                </taxonlabel>
184
                                                                                                            </parent_id>
185
                                                                                                        </taxonlabel>
186
                                                                                                    </parent_id>
187
                                                                                                </taxonlabel>
188
                                                                                            </parent_id>
189
                                                                                        </taxonlabel>
190
                                                                                    </parent_id>
191
                                                                                </taxonlabel>
192
                                                                            </parent_id>
193
                                                                        </taxonlabel>
194
                                                                    </parent_id>
195
                                                                </taxonlabel>
196
                                                            </parent_id>
197
                                                        </taxonlabel>
198
                                                    </parent_id>
199
                                                    <taxonomicname>
200
                                                        <_merge_prefix>
201
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
202
                                                            <value>
203
                                                                <_join_words>
204
                                                                    <1>
205
                                                                        <_alt>
206
                                                                            <1>$ScientificName</1>
207
                                                                            <2>
208
                                                                                <_join_words>
209
                                                                                    <2>$Genus</2>
210
                                                                                    <3>$Species</3>
211
                                                                                    <4>$Subspecies</4>
212
                                                                                </_join_words>
213
                                                                            </2>
214
                                                                        </_alt>
215
                                                                    </1>
216
                                                                    <2>$ScientificNameAuthor</2>
217
                                                                </_join_words>
218
                                                            </value>
219
                                                        </_merge_prefix>
220
                                                    </taxonomicname>
221
                                                </taxonlabel>
222
                                            </taxonlabel_id>
223
                                            <author>$ScientificNameAuthor</author>
224
                                            <family>$Family</family>
225
                                            <genus>$Genus</genus>
226
                                            <specific_epithet>$Species</specific_epithet>
227
                                            <taxonname>$ScientificName</taxonname>
228
                                        </taxonverbatim>
229
                                    </taxonverbatim_id>
230
                                    <determinationdate>
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
                                    </determinationdate>
255
                                </taxondetermination>
256
                            </taxonoccurrence>
257
                            <waterdepth_m>
258
                                <_avg>
259
                                    <1>$MinimumDepth</1>
260
                                    <2>$MaximumDepth</2>
261
                                </_avg>
262
                            </waterdepth_m>
263
                        </locationevent>
264
                        <locationnarrative>
265
                            <_merge>
266
                                <1>
267
                                    <_join>
268
                                        <1>$Locality</1>
269
                                        <2>
270
                                            <_label>
271
                                                <label>substrate</label>
272
                                                <value>$Substrate</value>
273
                                            </_label>
274
                                        </2>
275
                                        <3>
276
                                            <_label>
277
                                                <label>vegetation</label>
278
                                                <value>$Vegetation</value>
279
                                            </_label>
280
                                        </3>
281
                                    </_join>
282
                                </1>
283
                                <3>
284
                                    <_label>
285
                                        <label>habitat</label>
286
                                        <value>$Habitat</value>
287
                                    </_label>
288
                                </3>
289
                            </_merge>
290
                        </locationnarrative>
291
                        <locationplace>
292
                            <place_id>
293
                                <place>
294
                                    <coordinates_id>
295
                                        <coordinates>
296
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
297
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
298
                                            <latitude_deg>
299
                                                <_nullIf>
300
                                                    <null>0</null>
301
                                                    <type>float</type>
302
                                                    <value>$Latitude</value>
303
                                                </_nullIf>
304
                                            </latitude_deg>
305
                                            <longitude_deg>
306
                                                <_nullIf>
307
                                                    <null>0</null>
308
                                                    <type>float</type>
309
                                                    <value>$Longitude</value>
310
                                                </_nullIf>
311
                                            </longitude_deg>
312
                                        </coordinates>
313
                                    </coordinates_id>
314
                                    <continent>$ContinentOcean</continent>
315
                                    <country>$Country</country>
316
                                    <county>$County</county>
317
                                    <matched_place_id>
318
                                        <place>
319
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
320
                                            <coordinates_id>
321
                                                <coordinates>
322
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
323
                                                    <latitude_deg>
324
                                                        <_nullIf>
325
                                                            <null>0</null>
326
                                                            <type>float</type>
327
                                                            <value>$Latitude</value>
328
                                                        </_nullIf>
329
                                                    </latitude_deg>
330
                                                    <longitude_deg>
331
                                                        <_nullIf>
332
                                                            <null>0</null>
333
                                                            <type>float</type>
334
                                                            <value>$Longitude</value>
335
                                                        </_nullIf>
336
                                                    </longitude_deg>
337
                                                </coordinates>
338
                                            </coordinates_id>
339
                                            <country>$Country</country>
340
                                            <county>$County</county>
341
                                            <stateprovince>$StateProvince</stateprovince>
342
                                        </place>
343
                                    </matched_place_id>
344
                                    <stateprovince>$StateProvince</stateprovince>
345
                                </place>
346
                            </place_id>
347
                        </locationplace>
348
                    </location>
349
                </path>
350
            </_simplifyPath>
351
        </path>
352
    </_setDefault>
353
</VegBIEN>
354
Inserted 47 new rows into database
(7-7/8)