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