Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 3641 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>SpeciesLink.new</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 10530 aaronmk
                                <1>$occurrenceID</1>
13 4621 aaronmk
                                <2>
14
                                    <_join>
15 10530 aaronmk
                                        <1>$specimenHolderInstitutions</1>
16 4621 aaronmk
                                        <2>
17 6403 aaronmk
                                            <_join>
18 10530 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21 4621 aaronmk
                                        </2>
22 10530 aaronmk
                                        <3>$accessionNumber</3>
23 6403 aaronmk
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <elevation_m>
28
                            <_avg>
29 10530 aaronmk
                                <1>$minimumElevationInMeters</1>
30
                                <2>$maximumElevationInMeters</2>
31 6403 aaronmk
                            </_avg>
32
                        </elevation_m>
33 10530 aaronmk
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
34 6403 aaronmk
                        <locationevent>
35 11107 aaronmk
                            <locationevent fkey="parent_id">
36
                                <taxonoccurrence>
37
                                    <aggregateoccurrence>
38
                                        <collectiondate>
39
                                            <_date>
40
                                                <day>
41
                                                    <_nullIf>
42
                                                        <null>0</null>
43
                                                        <type>float</type>
44
                                                        <value>$dayCollected</value>
45
                                                    </_nullIf>
46
                                                </day>
47
                                                <month>
48
                                                    <_nullIf>
49
                                                        <null>0</null>
50
                                                        <type>float</type>
51
                                                        <value>$monthCollected</value>
52
                                                    </_nullIf>
53
                                                </month>
54
                                                <year>
55
                                                    <_nullIf>
56
                                                        <null>0</null>
57
                                                        <type>float</type>
58
                                                        <value>$yearCollected</value>
59
                                                    </_nullIf>
60
                                                </year>
61
                                            </_date>
62
                                        </collectiondate>
63
                                        <count>$individualCount</count>
64
                                        <notes>$occurrenceRemarks</notes>
65
                                        <plantobservation>
66
                                            <authorplantcode>$collectorNumber</authorplantcode>
67
                                            <definedvalue fkey="tablerecord_id">
68
                                                <userdefined_id>
69
                                                    <userdefined>
70
                                                        <tablename>plantobservation</tablename>
71
                                                        <userdefinedname>sex</userdefinedname>
72
                                                    </userdefined>
73
                                                </userdefined_id>
74
                                                <definedvalue>$sex</definedvalue>
75
                                            </definedvalue>
76
                                            <specimenreplicate>
77
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
78
                                                <collectioncode_dwc>
79
                                                    <_alt>
80
                                                        <1>$collection</1>
81
                                                        <2>$collectionURL</2>
82
                                                    </_alt>
83
                                                </collectioncode_dwc>
84
                                                <collectionnumber>$collectorNumber</collectionnumber>
85
                                                <institution_id>
86
                                                    <sourcelist>
87
                                                        <name>$specimenHolderInstitutions</name>
88
                                                        <sourcename>
89
                                                            <name>
90
                                                                <_split>
91
                                                                    <separator>[,;] *</separator>
92
                                                                    <value>$specimenHolderInstitutions</value>
93
                                                                </_split>
94
                                                            </name>
95
                                                        </sourcename>
96
                                                    </sourcelist>
97
                                                </institution_id>
98
                                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
99
                                            </specimenreplicate>
100
                                        </plantobservation>
101
                                    </aggregateoccurrence>
102
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
103
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
104
                                    <taxondetermination>
105
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
106
                                        <taxonverbatim_id>
107
                                            <taxonverbatim>
108
                                                <taxonlabel_id>
109
                                                    <taxonlabel>
110
                                                        <parent_id>
111
                                                            <taxonlabel>
112
                                                                <parent_id>
113
                                                                    <taxonlabel>
114
                                                                        <rank>cultivar</rank>
115
                                                                        <parent_id>
116
                                                                            <taxonlabel>
117
                                                                                <rank>forma</rank>
118
                                                                                <parent_id>
119
                                                                                    <taxonlabel>
120
                                                                                        <rank>variety</rank>
121
                                                                                        <parent_id>
122
                                                                                            <taxonlabel>
123
                                                                                                <rank>subspecies</rank>
124
                                                                                                <taxonepithet>$subspecies</taxonepithet>
125
                                                                                                <parent_id>
126
                                                                                                    <taxonlabel>
127
                                                                                                        <rank>species</rank>
128
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
129
                                                                                                        <parent_id>
130
                                                                                                            <taxonlabel>
131
                                                                                                                <rank>genus</rank>
132
                                                                                                                <taxonepithet>$genus</taxonepithet>
133
                                                                                                                <parent_id>
134
                                                                                                                    <taxonlabel>
135
                                                                                                                        <rank>family</rank>
136
                                                                                                                        <taxonepithet>$family</taxonepithet>
137
                                                                                                                        <parent_id>
138
                                                                                                                            <taxonlabel>
139
                                                                                                                                <rank>order</rank>
140
                                                                                                                                <taxonepithet>$order</taxonepithet>
141
                                                                                                                                <parent_id>
142
                                                                                                                                    <taxonlabel>
143
                                                                                                                                        <rank>class</rank>
144
                                                                                                                                        <taxonepithet>$class</taxonepithet>
145
                                                                                                                                        <parent_id>
146
                                                                                                                                            <taxonlabel>
147
                                                                                                                                                <rank>phylum</rank>
148
                                                                                                                                                <taxonepithet>$phylum</taxonepithet>
149
                                                                                                                                                <parent_id>
150
                                                                                                                                                    <taxonlabel>
151
                                                                                                                                                        <rank>kingdom</rank>
152
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
153
                                                                                                                                                    </taxonlabel>
154
                                                                                                                                                </parent_id>
155
                                                                                                                                            </taxonlabel>
156
                                                                                                                                        </parent_id>
157
                                                                                                                                    </taxonlabel>
158
                                                                                                                                </parent_id>
159
                                                                                                                            </taxonlabel>
160
                                                                                                                        </parent_id>
161
                                                                                                                    </taxonlabel>
162
                                                                                                                </parent_id>
163
                                                                                                            </taxonlabel>
164
                                                                                                        </parent_id>
165
                                                                                                    </taxonlabel>
166
                                                                                                </parent_id>
167
                                                                                            </taxonlabel>
168
                                                                                        </parent_id>
169
                                                                                    </taxonlabel>
170
                                                                                </parent_id>
171
                                                                            </taxonlabel>
172
                                                                        </parent_id>
173
                                                                    </taxonlabel>
174
                                                                </parent_id>
175
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
176
                                                            </taxonlabel>
177
                                                        </parent_id>
178
                                                        <taxonomicname>
179
                                                            <_merge_prefix>
180
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
181
                                                                <value>
182
                                                                    <_alt>
183
                                                                        <1>$scientificName</1>
184
                                                                        <2>
185
                                                                            <_join_words>
186
                                                                                <1>
187
                                                                                    <_join_words>
188
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
189
                                                                                        <3>$specificEpithet</3>
190
                                                                                        <4>$subspecies</4>
191
                                                                                        <5>$infraspecificEpithet</5>
192
                                                                                    </_join_words>
193
                                                                                </1>
194
                                                                                <2>$scientificNameAuthorship</2>
195
                                                                            </_join_words>
196
                                                                        </2>
197
                                                                    </_alt>
198
                                                                </value>
199
                                                            </_merge_prefix>
200
                                                        </taxonomicname>
201
                                                    </taxonlabel>
202
                                                </taxonlabel_id>
203
                                                <author>$scientificNameAuthorship</author>
204
                                                <family>$family</family>
205
                                                <genus>$genus</genus>
206
                                                <specific_epithet>$specificEpithet</specific_epithet>
207
                                                <taxonomicname>$scientificName</taxonomicname>
208
                                            </taxonverbatim>
209
                                        </taxonverbatim_id>
210
                                        <determinationdate>
211
                                            <_alt>
212
                                                <1><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></1>
213
                                                <2>
214
                                                    <_date>
215
                                                        <day>
216
                                                            <_nullIf>
217
                                                                <null>0</null>
218
                                                                <type>float</type>
219
                                                                <value>$dayIdentified</value>
220
                                                            </_nullIf>
221
                                                        </day>
222
                                                        <month>
223
                                                            <_nullIf>
224
                                                                <null>0</null>
225
                                                                <type>float</type>
226
                                                                <value>$monthIdentified</value>
227
                                                            </_nullIf>
228
                                                        </month>
229
                                                        <year>
230
                                                            <_nullIf>
231
                                                                <null>0</null>
232
                                                                <type>float</type>
233
                                                                <value>$yearIdentified</value>
234
                                                            </_nullIf>
235
                                                        </year>
236
                                                    </_date>
237
                                                </2>
238
                                            </_alt>
239
                                        </determinationdate>
240
                                    </taxondetermination>
241
                                </taxonoccurrence>
242
                            </locationevent>
243 6403 aaronmk
                            <waterdepth_m>
244
                                <_avg>
245 10530 aaronmk
                                    <1>$minimumDepthInMeters</1>
246
                                    <2>$maximumDepthInMeters</2>
247 6403 aaronmk
                                </_avg>
248
                            </waterdepth_m>
249
                        </locationevent>
250 10530 aaronmk
                        <locationnarrative>$locality</locationnarrative>
251 6403 aaronmk
                        <locationplace>
252
                            <place_id>
253 5958 aaronmk
                                <place>
254
                                    <coordinates_id>
255
                                        <coordinates>
256 10530 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
257 5958 aaronmk
                                            <latitude_deg>
258 5969 aaronmk
                                                <_nullIf>
259
                                                    <null>0</null>
260
                                                    <type>float</type>
261 10530 aaronmk
                                                    <value>$decimalLatitude</value>
262 5969 aaronmk
                                                </_nullIf>
263 5958 aaronmk
                                            </latitude_deg>
264
                                            <longitude_deg>
265 5969 aaronmk
                                                <_nullIf>
266
                                                    <null>0</null>
267
                                                    <type>float</type>
268 10530 aaronmk
                                                    <value>$decimalLongitude</value>
269 5969 aaronmk
                                                </_nullIf>
270 5958 aaronmk
                                            </longitude_deg>
271 10530 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
272
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
273 5958 aaronmk
                                        </coordinates>
274
                                    </coordinates_id>
275 10530 aaronmk
                                    <continent>$continent</continent>
276
                                    <country>$country</country>
277
                                    <county>$county</county>
278 6403 aaronmk
                                    <matched_place_id>
279
                                        <place>
280
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
281
                                            <coordinates_id>
282
                                                <coordinates>
283
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
284
                                                    <latitude_deg>
285
                                                        <_nullIf>
286
                                                            <null>0</null>
287
                                                            <type>float</type>
288 10530 aaronmk
                                                            <value>$decimalLatitude</value>
289 6403 aaronmk
                                                        </_nullIf>
290
                                                    </latitude_deg>
291
                                                    <longitude_deg>
292
                                                        <_nullIf>
293
                                                            <null>0</null>
294
                                                            <type>float</type>
295 10530 aaronmk
                                                            <value>$decimalLongitude</value>
296 6403 aaronmk
                                                        </_nullIf>
297
                                                    </longitude_deg>
298
                                                </coordinates>
299
                                            </coordinates_id>
300 10530 aaronmk
                                            <country>$country</country>
301
                                            <county>$county</county>
302
                                            <stateprovince>$stateProvince</stateprovince>
303 6403 aaronmk
                                        </place>
304
                                    </matched_place_id>
305 10530 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
306 5958 aaronmk
                                </place>
307 6403 aaronmk
                            </place_id>
308
                        </locationplace>
309
                    </location>
310
                </path>
311
            </_simplifyPath>
312 4621 aaronmk
        </path>
313 6403 aaronmk
    </_setDefault>
314 3641 aaronmk
</VegBIEN>
315 7162 aaronmk
Inserted 44 new rows into database