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