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