Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>NY</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11 6485 aaronmk
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16 6403 aaronmk
                        </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 6432 aaronmk
                        <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 6403 aaronmk
                        <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 6791 aaronmk
                                                <sourcelist>
110 6403 aaronmk
                                                    <name>$InstitutionCode</name>
111 6791 aaronmk
                                                    <sourcename>
112
                                                        <matched_source_id><source><shortname>$InstitutionCode</shortname></source></matched_source_id>
113
                                                        <name>$InstitutionCode</name>
114
                                                    </sourcename>
115
                                                </sourcelist>
116 6403 aaronmk
                                            </institution_id>
117
                                        </specimenreplicate>
118
                                    </plantobservation>
119
                                </aggregateoccurrence>
120
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
121
                                <taxondetermination>
122
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
123
                                    <taxonverbatim_id>
124
                                        <taxonverbatim>
125
                                            <taxonlabel_id>
126 5657 aaronmk
                                                <taxonlabel>
127 6403 aaronmk
                                                    <matched_label_id>
128
                                                        <taxonlabel>
129
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
130
                                                            <taxonomicname>
131 5788 aaronmk
                                                                <_join_words>
132
                                                                    <1>
133 6403 aaronmk
                                                                        <_taxon_family_require_std>
134
                                                                            <family>
135
                                                                                <_nullIf>
136
                                                                                    <null>$ScientificName</null>
137
                                                                                    <value>$Family</value>
138
                                                                                </_nullIf>
139
                                                                            </family>
140
                                                                        </_taxon_family_require_std>
141 5788 aaronmk
                                                                    </1>
142 6403 aaronmk
                                                                    <2>
143
                                                                        <_join_words>
144
                                                                            <1>
145
                                                                                <_alt>
146
                                                                                    <1>$ScientificName</1>
147
                                                                                    <2>
148
                                                                                        <_join_words>
149
                                                                                            <2>$Genus</2>
150
                                                                                            <3>$Species</3>
151
                                                                                            <4>$Subspecies</4>
152
                                                                                        </_join_words>
153
                                                                                    </2>
154
                                                                                </_alt>
155
                                                                            </1>
156
                                                                            <2>$ScientificNameAuthor</2>
157
                                                                        </_join_words>
158
                                                                    </2>
159 5788 aaronmk
                                                                </_join_words>
160 6403 aaronmk
                                                            </taxonomicname>
161
                                                        </taxonlabel>
162
                                                    </matched_label_id>
163
                                                    <creationdate>
164
                                                        <_date>
165
                                                            <day>
166
                                                                <_nullIf>
167
                                                                    <null>0</null>
168
                                                                    <type>float</type>
169
                                                                    <value>$DayIdentified</value>
170
                                                                </_nullIf>
171
                                                            </day>
172
                                                            <month>
173
                                                                <_nullIf>
174
                                                                    <null>0</null>
175
                                                                    <type>float</type>
176
                                                                    <value>$MonthIdentified</value>
177
                                                                </_nullIf>
178
                                                            </month>
179
                                                            <year>
180
                                                                <_nullIf>
181
                                                                    <null>0</null>
182
                                                                    <type>float</type>
183
                                                                    <value>$YearIdentified</value>
184
                                                                </_nullIf>
185
                                                            </year>
186
                                                        </_date>
187
                                                    </creationdate>
188 5294 aaronmk
                                                    <parent_id>
189 5608 aaronmk
                                                        <taxonlabel>
190 5294 aaronmk
                                                            <parent_id>
191 5608 aaronmk
                                                                <taxonlabel>
192 6403 aaronmk
                                                                    <rank>cultivar</rank>
193 5294 aaronmk
                                                                    <parent_id>
194 5608 aaronmk
                                                                        <taxonlabel>
195 6403 aaronmk
                                                                            <rank>forma</rank>
196 5294 aaronmk
                                                                            <parent_id>
197 5608 aaronmk
                                                                                <taxonlabel>
198 6403 aaronmk
                                                                                    <rank>variety</rank>
199 5294 aaronmk
                                                                                    <parent_id>
200 5608 aaronmk
                                                                                        <taxonlabel>
201 6403 aaronmk
                                                                                            <rank>subspecies</rank>
202
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
203 5294 aaronmk
                                                                                            <parent_id>
204 5608 aaronmk
                                                                                                <taxonlabel>
205 6403 aaronmk
                                                                                                    <rank>species</rank>
206
                                                                                                    <taxonepithet>$Species</taxonepithet>
207 5294 aaronmk
                                                                                                    <parent_id>
208 5608 aaronmk
                                                                                                        <taxonlabel>
209 6403 aaronmk
                                                                                                            <rank>genus</rank>
210
                                                                                                            <taxonepithet>$Genus</taxonepithet>
211 5294 aaronmk
                                                                                                            <parent_id>
212 5608 aaronmk
                                                                                                                <taxonlabel>
213 6403 aaronmk
                                                                                                                    <rank>family</rank>
214
                                                                                                                    <taxonepithet>$Family</taxonepithet>
215 5294 aaronmk
                                                                                                                    <parent_id>
216 5608 aaronmk
                                                                                                                        <taxonlabel>
217 6403 aaronmk
                                                                                                                            <rank>order</rank>
218
                                                                                                                            <taxonepithet>$Order</taxonepithet>
219 5306 aaronmk
                                                                                                                            <parent_id>
220 5608 aaronmk
                                                                                                                                <taxonlabel>
221 6403 aaronmk
                                                                                                                                    <rank>class</rank>
222
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
223 5657 aaronmk
                                                                                                                                    <parent_id>
224
                                                                                                                                        <taxonlabel>
225 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
226
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
227
                                                                                                                                            <parent_id>
228
                                                                                                                                                <taxonlabel>
229
                                                                                                                                                    <rank>kingdom</rank>
230
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
231
                                                                                                                                                </taxonlabel>
232
                                                                                                                                            </parent_id>
233 5657 aaronmk
                                                                                                                                        </taxonlabel>
234
                                                                                                                                    </parent_id>
235 5608 aaronmk
                                                                                                                                </taxonlabel>
236 5306 aaronmk
                                                                                                                            </parent_id>
237 5608 aaronmk
                                                                                                                        </taxonlabel>
238 5294 aaronmk
                                                                                                                    </parent_id>
239 5608 aaronmk
                                                                                                                </taxonlabel>
240 5294 aaronmk
                                                                                                            </parent_id>
241 5608 aaronmk
                                                                                                        </taxonlabel>
242 5294 aaronmk
                                                                                                    </parent_id>
243 5608 aaronmk
                                                                                                </taxonlabel>
244 5294 aaronmk
                                                                                            </parent_id>
245 5608 aaronmk
                                                                                        </taxonlabel>
246 5294 aaronmk
                                                                                    </parent_id>
247 5608 aaronmk
                                                                                </taxonlabel>
248 5294 aaronmk
                                                                            </parent_id>
249 5608 aaronmk
                                                                        </taxonlabel>
250 5294 aaronmk
                                                                    </parent_id>
251 5608 aaronmk
                                                                </taxonlabel>
252 5294 aaronmk
                                                            </parent_id>
253 5608 aaronmk
                                                        </taxonlabel>
254 5294 aaronmk
                                                    </parent_id>
255 6403 aaronmk
                                                    <taxonomicname>
256 5788 aaronmk
                                                        <_join_words>
257
                                                            <1>
258 6403 aaronmk
                                                                <_taxon_family_require_std>
259
                                                                    <family>
260
                                                                        <_nullIf>
261
                                                                            <null>$ScientificName</null>
262
                                                                            <value>$Family</value>
263
                                                                        </_nullIf>
264
                                                                    </family>
265
                                                                </_taxon_family_require_std>
266 5788 aaronmk
                                                            </1>
267 6403 aaronmk
                                                            <2>
268
                                                                <_join_words>
269
                                                                    <1>
270
                                                                        <_alt>
271
                                                                            <1>$ScientificName</1>
272
                                                                            <2>
273
                                                                                <_join_words>
274
                                                                                    <2>$Genus</2>
275
                                                                                    <3>$Species</3>
276
                                                                                    <4>$Subspecies</4>
277
                                                                                </_join_words>
278
                                                                            </2>
279
                                                                        </_alt>
280
                                                                    </1>
281
                                                                    <2>$ScientificNameAuthor</2>
282
                                                                </_join_words>
283
                                                            </2>
284 5788 aaronmk
                                                        </_join_words>
285 6403 aaronmk
                                                    </taxonomicname>
286
                                                </taxonlabel>
287
                                            </taxonlabel_id>
288
                                            <author>$ScientificNameAuthor</author>
289
                                            <family>$Family</family>
290
                                            <genus>$Genus</genus>
291
                                            <specific_epithet>$Species</specific_epithet>
292
                                            <taxonname>$ScientificName</taxonname>
293
                                        </taxonverbatim>
294
                                    </taxonverbatim_id>
295
                                    <determinationdate>
296
                                        <_date>
297
                                            <day>
298
                                                <_nullIf>
299
                                                    <null>0</null>
300
                                                    <type>float</type>
301
                                                    <value>$DayIdentified</value>
302
                                                </_nullIf>
303
                                            </day>
304
                                            <month>
305
                                                <_nullIf>
306
                                                    <null>0</null>
307
                                                    <type>float</type>
308
                                                    <value>$MonthIdentified</value>
309
                                                </_nullIf>
310
                                            </month>
311
                                            <year>
312
                                                <_nullIf>
313
                                                    <null>0</null>
314
                                                    <type>float</type>
315
                                                    <value>$YearIdentified</value>
316
                                                </_nullIf>
317
                                            </year>
318
                                        </_date>
319
                                    </determinationdate>
320
                                </taxondetermination>
321
                            </taxonoccurrence>
322
                            <waterdepth_m>
323
                                <_avg>
324
                                    <max>$MaximumDepth</max>
325
                                    <min>$MinimumDepth</min>
326
                                </_avg>
327
                            </waterdepth_m>
328
                        </locationevent>
329
                        <locationnarrative>
330
                            <_merge>
331
                                <1>
332
                                    <_join>
333
                                        <1>$Locality</1>
334
                                        <2>
335
                                            <_label>
336
                                                <label>substrate</label>
337
                                                <value>$Substrate</value>
338
                                            </_label>
339
                                        </2>
340
                                        <3>
341
                                            <_label>
342
                                                <label>vegetation</label>
343
                                                <value>$Vegetation</value>
344
                                            </_label>
345
                                        </3>
346
                                    </_join>
347
                                </1>
348 4621 aaronmk
                                <3>
349
                                    <_label>
350 6403 aaronmk
                                        <label>habitat</label>
351
                                        <value>$Habitat</value>
352 4621 aaronmk
                                    </_label>
353
                                </3>
354 6403 aaronmk
                            </_merge>
355
                        </locationnarrative>
356
                        <locationplace>
357
                            <place_id>
358 5958 aaronmk
                                <place>
359
                                    <coordinates_id>
360
                                        <coordinates>
361 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
362
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
363 5969 aaronmk
                                            <latitude_deg>
364
                                                <_nullIf>
365
                                                    <null>0</null>
366
                                                    <type>float</type>
367
                                                    <value>$Latitude</value>
368
                                                </_nullIf>
369
                                            </latitude_deg>
370
                                            <longitude_deg>
371
                                                <_nullIf>
372
                                                    <null>0</null>
373
                                                    <type>float</type>
374
                                                    <value>$Longitude</value>
375
                                                </_nullIf>
376
                                            </longitude_deg>
377 5958 aaronmk
                                        </coordinates>
378
                                    </coordinates_id>
379 6403 aaronmk
                                    <continent>$ContinentOcean</continent>
380 5958 aaronmk
                                    <country>$Country</country>
381 6294 aaronmk
                                    <county>$County</county>
382 6403 aaronmk
                                    <matched_place_id>
383
                                        <place>
384
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
385
                                            <coordinates_id>
386
                                                <coordinates>
387
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
388
                                                    <latitude_deg>
389
                                                        <_nullIf>
390
                                                            <null>0</null>
391
                                                            <type>float</type>
392
                                                            <value>$Latitude</value>
393
                                                        </_nullIf>
394
                                                    </latitude_deg>
395
                                                    <longitude_deg>
396
                                                        <_nullIf>
397
                                                            <null>0</null>
398
                                                            <type>float</type>
399
                                                            <value>$Longitude</value>
400
                                                        </_nullIf>
401
                                                    </longitude_deg>
402
                                                </coordinates>
403
                                            </coordinates_id>
404
                                            <country>$Country</country>
405
                                            <county>$County</county>
406
                                            <stateprovince>$StateProvince</stateprovince>
407
                                        </place>
408
                                    </matched_place_id>
409 5958 aaronmk
                                    <stateprovince>$StateProvince</stateprovince>
410
                                </place>
411 6403 aaronmk
                            </place_id>
412
                        </locationplace>
413
                    </location>
414
                </path>
415
            </_simplifyPath>
416 4621 aaronmk
        </path>
417 6403 aaronmk
    </_setDefault>
418 3641 aaronmk
</VegBIEN>
419 6791 aaronmk
Inserted 46 new rows into database