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
                                <max>$MaximumElevation</max>
20
                                <min>
21
                                    <_nullIf>
22
                                        <null>.</null>
23
                                        <value>$MinimumElevation</value>
24
                                    </_nullIf>
25
                                </min>
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>$PlantFungusDescription</value>
90
                                                </_label>
91
                                            </2>
92
                                        </_join>
93
                                    </notes>
94
                                    <plantobservation>
95
                                        <collectionnumber>$FieldNumber</collectionnumber>
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
                                            <institution_id>
109
                                                <sourcelist>
110
                                                    <name>$InstitutionCode</name>
111
                                                    <sourcename>
112
                                                        <name>
113
                                                            <_split>
114
                                                                <separator>, </separator>
115
                                                                <value>$InstitutionCode</value>
116
                                                            </_split>
117
                                                        </name>
118
                                                    </sourcename>
119
                                                </sourcelist>
120
                                            </institution_id>
121
                                        </specimenreplicate>
122
                                    </plantobservation>
123
                                </aggregateoccurrence>
124
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
125
                                <taxondetermination>
126
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
127
                                    <taxonverbatim_id>
128
                                        <taxonverbatim>
129
                                            <taxonlabel_id>
130
                                                <taxonlabel>
131
                                                    <creationdate>
132
                                                        <_date>
133
                                                            <day>
134
                                                                <_nullIf>
135
                                                                    <null>0</null>
136
                                                                    <type>float</type>
137
                                                                    <value>$DayIdentified</value>
138
                                                                </_nullIf>
139
                                                            </day>
140
                                                            <month>
141
                                                                <_nullIf>
142
                                                                    <null>0</null>
143
                                                                    <type>float</type>
144
                                                                    <value>$MonthIdentified</value>
145
                                                                </_nullIf>
146
                                                            </month>
147
                                                            <year>
148
                                                                <_nullIf>
149
                                                                    <null>0</null>
150
                                                                    <type>float</type>
151
                                                                    <value>$YearIdentified</value>
152
                                                                </_nullIf>
153
                                                            </year>
154
                                                        </_date>
155
                                                    </creationdate>
156
                                                    <parent_id>
157
                                                        <taxonlabel>
158
                                                            <parent_id>
159
                                                                <taxonlabel>
160
                                                                    <rank>cultivar</rank>
161
                                                                    <parent_id>
162
                                                                        <taxonlabel>
163
                                                                            <rank>forma</rank>
164
                                                                            <parent_id>
165
                                                                                <taxonlabel>
166
                                                                                    <rank>variety</rank>
167
                                                                                    <parent_id>
168
                                                                                        <taxonlabel>
169
                                                                                            <rank>subspecies</rank>
170
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
171
                                                                                            <parent_id>
172
                                                                                                <taxonlabel>
173
                                                                                                    <rank>species</rank>
174
                                                                                                    <taxonepithet>$Species</taxonepithet>
175
                                                                                                    <parent_id>
176
                                                                                                        <taxonlabel>
177
                                                                                                            <rank>genus</rank>
178
                                                                                                            <taxonepithet>$Genus</taxonepithet>
179
                                                                                                            <parent_id>
180
                                                                                                                <taxonlabel>
181
                                                                                                                    <rank>family</rank>
182
                                                                                                                    <taxonepithet>$Family</taxonepithet>
183
                                                                                                                    <parent_id>
184
                                                                                                                        <taxonlabel>
185
                                                                                                                            <rank>order</rank>
186
                                                                                                                            <taxonepithet>$Order</taxonepithet>
187
                                                                                                                            <parent_id>
188
                                                                                                                                <taxonlabel>
189
                                                                                                                                    <rank>class</rank>
190
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
191
                                                                                                                                    <parent_id>
192
                                                                                                                                        <taxonlabel>
193
                                                                                                                                            <rank>phylum</rank>
194
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
195
                                                                                                                                            <parent_id>
196
                                                                                                                                                <taxonlabel>
197
                                                                                                                                                    <rank>kingdom</rank>
198
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
199
                                                                                                                                                </taxonlabel>
200
                                                                                                                                            </parent_id>
201
                                                                                                                                        </taxonlabel>
202
                                                                                                                                    </parent_id>
203
                                                                                                                                </taxonlabel>
204
                                                                                                                            </parent_id>
205
                                                                                                                        </taxonlabel>
206
                                                                                                                    </parent_id>
207
                                                                                                                </taxonlabel>
208
                                                                                                            </parent_id>
209
                                                                                                        </taxonlabel>
210
                                                                                                    </parent_id>
211
                                                                                                </taxonlabel>
212
                                                                                            </parent_id>
213
                                                                                        </taxonlabel>
214
                                                                                    </parent_id>
215
                                                                                </taxonlabel>
216
                                                                            </parent_id>
217
                                                                        </taxonlabel>
218
                                                                    </parent_id>
219
                                                                </taxonlabel>
220
                                                            </parent_id>
221
                                                        </taxonlabel>
222
                                                    </parent_id>
223
                                                    <taxonomicname>
224
                                                        <_merge_prefix>
225
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
226
                                                            <value>
227
                                                                <_join_words>
228
                                                                    <1>
229
                                                                        <_alt>
230
                                                                            <1>$ScientificName</1>
231
                                                                            <2>
232
                                                                                <_join_words>
233
                                                                                    <2>$Genus</2>
234
                                                                                    <3>$Species</3>
235
                                                                                    <4>$Subspecies</4>
236
                                                                                </_join_words>
237
                                                                            </2>
238
                                                                        </_alt>
239
                                                                    </1>
240
                                                                    <2>$ScientificNameAuthor</2>
241
                                                                </_join_words>
242
                                                            </value>
243
                                                        </_merge_prefix>
244
                                                    </taxonomicname>
245
                                                </taxonlabel>
246
                                            </taxonlabel_id>
247
                                            <author>$ScientificNameAuthor</author>
248
                                            <family>$Family</family>
249
                                            <genus>$Genus</genus>
250
                                            <specific_epithet>$Species</specific_epithet>
251
                                            <taxonname>$ScientificName</taxonname>
252
                                        </taxonverbatim>
253
                                    </taxonverbatim_id>
254
                                    <determinationdate>
255
                                        <_date>
256
                                            <day>
257
                                                <_nullIf>
258
                                                    <null>0</null>
259
                                                    <type>float</type>
260
                                                    <value>$DayIdentified</value>
261
                                                </_nullIf>
262
                                            </day>
263
                                            <month>
264
                                                <_nullIf>
265
                                                    <null>0</null>
266
                                                    <type>float</type>
267
                                                    <value>$MonthIdentified</value>
268
                                                </_nullIf>
269
                                            </month>
270
                                            <year>
271
                                                <_nullIf>
272
                                                    <null>0</null>
273
                                                    <type>float</type>
274
                                                    <value>$YearIdentified</value>
275
                                                </_nullIf>
276
                                            </year>
277
                                        </_date>
278
                                    </determinationdate>
279
                                </taxondetermination>
280
                            </taxonoccurrence>
281
                            <waterdepth_m>
282
                                <_avg>
283
                                    <max>$MaximumDepth</max>
284
                                    <min>$MinimumDepth</min>
285
                                </_avg>
286
                            </waterdepth_m>
287
                        </locationevent>
288
                        <locationnarrative>
289
                            <_merge>
290
                                <1>
291
                                    <_join>
292
                                        <1>$Locality</1>
293
                                        <2>
294
                                            <_label>
295
                                                <label>substrate</label>
296
                                                <value>$Substrate</value>
297
                                            </_label>
298
                                        </2>
299
                                        <3>
300
                                            <_label>
301
                                                <label>vegetation</label>
302
                                                <value>$Vegetation</value>
303
                                            </_label>
304
                                        </3>
305
                                    </_join>
306
                                </1>
307
                                <3>
308
                                    <_label>
309
                                        <label>habitat</label>
310
                                        <value>$Habitat</value>
311
                                    </_label>
312
                                </3>
313
                            </_merge>
314
                        </locationnarrative>
315
                        <locationplace>
316
                            <place_id>
317
                                <place>
318
                                    <coordinates_id>
319
                                        <coordinates>
320
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
321
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
322
                                            <latitude_deg>
323
                                                <_nullIf>
324
                                                    <null>0</null>
325
                                                    <type>float</type>
326
                                                    <value>$Latitude</value>
327
                                                </_nullIf>
328
                                            </latitude_deg>
329
                                            <longitude_deg>
330
                                                <_nullIf>
331
                                                    <null>0</null>
332
                                                    <type>float</type>
333
                                                    <value>$Longitude</value>
334
                                                </_nullIf>
335
                                            </longitude_deg>
336
                                        </coordinates>
337
                                    </coordinates_id>
338
                                    <continent>$ContinentOcean</continent>
339
                                    <country>$Country</country>
340
                                    <county>$County</county>
341
                                    <matched_place_id>
342
                                        <place>
343
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
344
                                            <coordinates_id>
345
                                                <coordinates>
346
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
347
                                                    <latitude_deg>
348
                                                        <_nullIf>
349
                                                            <null>0</null>
350
                                                            <type>float</type>
351
                                                            <value>$Latitude</value>
352
                                                        </_nullIf>
353
                                                    </latitude_deg>
354
                                                    <longitude_deg>
355
                                                        <_nullIf>
356
                                                            <null>0</null>
357
                                                            <type>float</type>
358
                                                            <value>$Longitude</value>
359
                                                        </_nullIf>
360
                                                    </longitude_deg>
361
                                                </coordinates>
362
                                            </coordinates_id>
363
                                            <country>$Country</country>
364
                                            <county>$County</county>
365
                                            <stateprovince>$StateProvince</stateprovince>
366
                                        </place>
367
                                    </matched_place_id>
368
                                    <stateprovince>$StateProvince</stateprovince>
369
                                </place>
370
                            </place_id>
371
                        </locationplace>
372
                    </location>
373
                </path>
374
            </_simplifyPath>
375
        </path>
376
    </_setDefault>
377
</VegBIEN>
378
Inserted 43 new rows into database
(5-5/6)