Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>ARIZ</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>$GlobalUniqueIdentifier</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$InstitutionCode</1>
16
                                        <2>$CollectionCode</2>
17
                                        <3>
18
                                            <_alt>
19
                                                <1>$CatalogNumberNumeric</1>
20
                                                <2>$CatalogNumber</2>
21
                                            </_alt>
22
                                        </3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <elevation_m>
28
                            <_avg>
29
                                <max>$MaximumElevationInMeters</max>
30
                                <min>$MinimumElevationInMeters</min>
31
                            </_avg>
32
                        </elevation_m>
33 6432 aaronmk
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$Locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
34 6403 aaronmk
                        <locationevent>
35
                            <taxonoccurrence>
36
                                <aggregateoccurrence>
37
                                    <collectiondate>
38 4621 aaronmk
                                        <_alt>
39 6403 aaronmk
                                            <1>$VerbatimCollectingDate</1>
40
                                            <2>
41 5657 aaronmk
                                                <_date>
42
                                                    <day>
43
                                                        <_nullIf>
44
                                                            <null>0</null>
45
                                                            <type>float</type>
46 6403 aaronmk
                                                            <value>$DayCollected</value>
47 5657 aaronmk
                                                        </_nullIf>
48
                                                    </day>
49
                                                    <month>
50
                                                        <_nullIf>
51
                                                            <null>0</null>
52
                                                            <type>float</type>
53 6403 aaronmk
                                                            <value>$MonthCollected</value>
54 5657 aaronmk
                                                        </_nullIf>
55
                                                    </month>
56
                                                    <year>
57
                                                        <_nullIf>
58
                                                            <null>0</null>
59
                                                            <type>float</type>
60 6403 aaronmk
                                                            <value>$YearCollected</value>
61 5657 aaronmk
                                                        </_nullIf>
62
                                                    </year>
63
                                                </_date>
64 6403 aaronmk
                                            </2>
65
                                        </_alt>
66
                                    </collectiondate>
67
                                    <count>$IndividualCount</count>
68
                                    <notes>$FieldNotes</notes>
69
                                    <plantobservation>
70 7190 aaronmk
                                        <authorplantcode>$CollectorNumber</authorplantcode>
71 6403 aaronmk
                                        <definedvalue fkey="tablerecord_id">
72
                                            <userdefined_id>
73
                                                <userdefined>
74
                                                    <tablename>plantobservation</tablename>
75
                                                    <userdefinedname>sex</userdefinedname>
76
                                                </userdefined>
77
                                            </userdefined_id>
78
                                            <definedvalue>$Sex</definedvalue>
79
                                        </definedvalue>
80
                                        <specimenreplicate>
81
                                            <catalognumber_dwc>
82
                                                <_alt>
83
                                                    <1>$CatalogNumberNumeric</1>
84
                                                    <2>$CatalogNumber</2>
85
                                                </_alt>
86
                                            </catalognumber_dwc>
87
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
88
                                            <institution_id>
89 6791 aaronmk
                                                <sourcelist>
90 6403 aaronmk
                                                    <name>$InstitutionCode</name>
91 6791 aaronmk
                                                    <sourcename>
92 6795 aaronmk
                                                        <name>
93
                                                            <_split>
94
                                                                <separator>, </separator>
95
                                                                <value>$InstitutionCode</value>
96
                                                            </_split>
97
                                                        </name>
98 6791 aaronmk
                                                    </sourcename>
99
                                                </sourcelist>
100 6403 aaronmk
                                            </institution_id>
101
                                            <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
102
                                        </specimenreplicate>
103
                                    </plantobservation>
104
                                </aggregateoccurrence>
105
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
106
                                <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
107
                                <taxondetermination>
108
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
109
                                    <taxonverbatim_id>
110
                                        <taxonverbatim>
111
                                            <taxonlabel_id>
112 5608 aaronmk
                                                <taxonlabel>
113 6403 aaronmk
                                                    <creationdate>
114
                                                        <_date>
115
                                                            <day>
116
                                                                <_nullIf>
117
                                                                    <null>0</null>
118
                                                                    <type>float</type>
119
                                                                    <value>$DayIdentified</value>
120
                                                                </_nullIf>
121
                                                            </day>
122
                                                            <month>
123
                                                                <_nullIf>
124
                                                                    <null>0</null>
125
                                                                    <type>float</type>
126
                                                                    <value>$MonthIdentified</value>
127
                                                                </_nullIf>
128
                                                            </month>
129
                                                            <year>
130
                                                                <_nullIf>
131
                                                                    <null>0</null>
132
                                                                    <type>float</type>
133
                                                                    <value>$YearIdentified</value>
134
                                                                </_nullIf>
135
                                                            </year>
136
                                                        </_date>
137
                                                    </creationdate>
138 5294 aaronmk
                                                    <parent_id>
139 5608 aaronmk
                                                        <taxonlabel>
140 5294 aaronmk
                                                            <parent_id>
141 5608 aaronmk
                                                                <taxonlabel>
142 6403 aaronmk
                                                                    <rank>cultivar</rank>
143 5294 aaronmk
                                                                    <parent_id>
144 5608 aaronmk
                                                                        <taxonlabel>
145 6403 aaronmk
                                                                            <rank>forma</rank>
146 5294 aaronmk
                                                                            <parent_id>
147 5608 aaronmk
                                                                                <taxonlabel>
148 6403 aaronmk
                                                                                    <rank>variety</rank>
149 5294 aaronmk
                                                                                    <parent_id>
150 5608 aaronmk
                                                                                        <taxonlabel>
151 6403 aaronmk
                                                                                            <rank>subspecies</rank>
152
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
153 5294 aaronmk
                                                                                            <parent_id>
154 5608 aaronmk
                                                                                                <taxonlabel>
155 6403 aaronmk
                                                                                                    <rank>species</rank>
156
                                                                                                    <taxonepithet>$Species</taxonepithet>
157 5294 aaronmk
                                                                                                    <parent_id>
158 5608 aaronmk
                                                                                                        <taxonlabel>
159 6403 aaronmk
                                                                                                            <rank>genus</rank>
160
                                                                                                            <taxonepithet>$Genus</taxonepithet>
161 5294 aaronmk
                                                                                                            <parent_id>
162 5608 aaronmk
                                                                                                                <taxonlabel>
163 6403 aaronmk
                                                                                                                    <rank>family</rank>
164
                                                                                                                    <taxonepithet>$Family</taxonepithet>
165 5294 aaronmk
                                                                                                                    <parent_id>
166 5608 aaronmk
                                                                                                                        <taxonlabel>
167 6403 aaronmk
                                                                                                                            <rank>order</rank>
168
                                                                                                                            <taxonepithet>$Order</taxonepithet>
169 5306 aaronmk
                                                                                                                            <parent_id>
170 5608 aaronmk
                                                                                                                                <taxonlabel>
171 6403 aaronmk
                                                                                                                                    <rank>class</rank>
172
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
173 5657 aaronmk
                                                                                                                                    <parent_id>
174
                                                                                                                                        <taxonlabel>
175 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
176
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
177
                                                                                                                                            <parent_id>
178
                                                                                                                                                <taxonlabel>
179
                                                                                                                                                    <rank>kingdom</rank>
180
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
181
                                                                                                                                                </taxonlabel>
182
                                                                                                                                            </parent_id>
183 5657 aaronmk
                                                                                                                                        </taxonlabel>
184
                                                                                                                                    </parent_id>
185 5608 aaronmk
                                                                                                                                </taxonlabel>
186 5306 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 5608 aaronmk
                                                                        </taxonlabel>
200 5294 aaronmk
                                                                    </parent_id>
201 5608 aaronmk
                                                                </taxonlabel>
202 5294 aaronmk
                                                            </parent_id>
203 5608 aaronmk
                                                        </taxonlabel>
204 5294 aaronmk
                                                    </parent_id>
205 6403 aaronmk
                                                    <taxonomicname>
206 7142 aaronmk
                                                        <_merge_prefix>
207
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
208
                                                            <value>
209 5788 aaronmk
                                                                <_alt>
210 6403 aaronmk
                                                                    <1>$ScientificNameAuthor</1>
211 5788 aaronmk
                                                                    <2>
212 6403 aaronmk
                                                                        <_alt>
213
                                                                            <1>$ScientificName</1>
214
                                                                            <2>
215
                                                                                <_join_words>
216
                                                                                    <2>$Genus</2>
217
                                                                                    <3>$Species</3>
218
                                                                                    <4>$Subspecies</4>
219
                                                                                </_join_words>
220
                                                                            </2>
221
                                                                        </_alt>
222 5788 aaronmk
                                                                    </2>
223
                                                                </_alt>
224 7142 aaronmk
                                                            </value>
225
                                                        </_merge_prefix>
226 6403 aaronmk
                                                    </taxonomicname>
227
                                                </taxonlabel>
228
                                            </taxonlabel_id>
229
                                            <family>$Family</family>
230
                                            <genus>$Genus</genus>
231
                                            <specific_epithet>$Species</specific_epithet>
232
                                            <taxonname>$ScientificName</taxonname>
233
                                            <taxonomicname>$ScientificNameAuthor</taxonomicname>
234
                                        </taxonverbatim>
235
                                    </taxonverbatim_id>
236
                                    <determinationdate>
237
                                        <_date>
238
                                            <day>
239
                                                <_nullIf>
240
                                                    <null>0</null>
241
                                                    <type>float</type>
242
                                                    <value>$DayIdentified</value>
243
                                                </_nullIf>
244
                                            </day>
245
                                            <month>
246
                                                <_nullIf>
247
                                                    <null>0</null>
248
                                                    <type>float</type>
249
                                                    <value>$MonthIdentified</value>
250
                                                </_nullIf>
251
                                            </month>
252
                                            <year>
253
                                                <_nullIf>
254
                                                    <null>0</null>
255
                                                    <type>float</type>
256
                                                    <value>$YearIdentified</value>
257
                                                </_nullIf>
258
                                            </year>
259
                                        </_date>
260
                                    </determinationdate>
261
                                    <notes>$Remarks</notes>
262
                                    <taxonfit>$IdentificationModifier</taxonfit>
263
                                </taxondetermination>
264
                            </taxonoccurrence>
265
                            <waterdepth_m>
266
                                <_avg>
267
                                    <max>$MaximumDepthInMeters</max>
268
                                    <min>$MinimumDepthInMeters</min>
269
                                </_avg>
270
                            </waterdepth_m>
271
                        </locationevent>
272
                        <locationnarrative>$Locality</locationnarrative>
273
                        <locationplace>
274
                            <place_id>
275 5958 aaronmk
                                <place>
276
                                    <coordinates_id>
277
                                        <coordinates>
278 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$CoordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
279
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
280 5969 aaronmk
                                            <latitude_deg>
281
                                                <_nullIf>
282
                                                    <null>0</null>
283
                                                    <type>float</type>
284
                                                    <value>$DecimalLatitude</value>
285
                                                </_nullIf>
286
                                            </latitude_deg>
287
                                            <longitude_deg>
288
                                                <_nullIf>
289
                                                    <null>0</null>
290
                                                    <type>float</type>
291
                                                    <value>$DecimalLongitude</value>
292
                                                </_nullIf>
293
                                            </longitude_deg>
294 5958 aaronmk
                                        </coordinates>
295
                                    </coordinates_id>
296 6403 aaronmk
                                    <continent>$ContinentOcean</continent>
297 5958 aaronmk
                                    <country>$Country</country>
298 6294 aaronmk
                                    <county>$County</county>
299 6403 aaronmk
                                    <matched_place_id>
300
                                        <place>
301
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
302
                                            <coordinates_id>
303
                                                <coordinates>
304
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
305
                                                    <latitude_deg>
306
                                                        <_nullIf>
307
                                                            <null>0</null>
308
                                                            <type>float</type>
309
                                                            <value>$DecimalLatitude</value>
310
                                                        </_nullIf>
311
                                                    </latitude_deg>
312
                                                    <longitude_deg>
313
                                                        <_nullIf>
314
                                                            <null>0</null>
315
                                                            <type>float</type>
316
                                                            <value>$DecimalLongitude</value>
317
                                                        </_nullIf>
318
                                                    </longitude_deg>
319
                                                </coordinates>
320
                                            </coordinates_id>
321
                                            <country>$Country</country>
322
                                            <county>$County</county>
323
                                            <stateprovince>$StateProvince</stateprovince>
324
                                        </place>
325
                                    </matched_place_id>
326 5958 aaronmk
                                    <stateprovince>$StateProvince</stateprovince>
327
                                </place>
328 6403 aaronmk
                            </place_id>
329
                        </locationplace>
330
                    </location>
331
                </path>
332
            </_simplifyPath>
333 4621 aaronmk
        </path>
334 6403 aaronmk
    </_setDefault>
335 3641 aaronmk
</VegBIEN>
336 7162 aaronmk
Inserted 42 new rows into database