Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 6345 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>UBC.new</shortname></source></source_id>
5 6345 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 10558 aaronmk
                                <1>$dataProviderRecordID</1>
13 6345 aaronmk
                                <2>
14
                                    <_join>
15 12879 aaronmk
                                        <1>$specimen_duplicate_institutions</1>
16 6403 aaronmk
                                        <2>
17
                                            <_join>
18 10558 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21
                                        </2>
22 10558 aaronmk
                                        <3>$accessionNumber</3>
23 6345 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35 6432 aaronmk
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
45 6403 aaronmk
                        <locationevent>
46 11107 aaronmk
                            <locationevent fkey="parent_id">
47
                                <taxonoccurrence>
48
                                    <aggregateoccurrence>
49
                                        <collectiondate>$dateCollected</collectiondate>
50
                                        <notes>$occurrenceRemarks</notes>
51
                                        <plantobservation>
52
                                            <authorplantcode>$collectorNumber</authorplantcode>
53
                                            <specimenreplicate>
54
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
55
                                                <collectioncode_dwc>
56
                                                    <_alt>
57
                                                        <1>$collection</1>
58
                                                        <2>$collectionURL</2>
59
                                                    </_alt>
60
                                                </collectioncode_dwc>
61
                                                <collectionnumber>$collectorNumber</collectionnumber>
62 12886 aaronmk
                                                <duplicate_institutions_sourcelist_id>
63 11107 aaronmk
                                                    <sourcelist>
64 12879 aaronmk
                                                        <name>$specimen_duplicate_institutions</name>
65 11107 aaronmk
                                                        <sourcename>
66
                                                            <name>
67
                                                                <_split>
68
                                                                    <separator>[,;] *</separator>
69 12879 aaronmk
                                                                    <value>$specimen_duplicate_institutions</value>
70 11107 aaronmk
                                                                </_split>
71
                                                            </name>
72
                                                        </sourcename>
73
                                                    </sourcelist>
74 12886 aaronmk
                                                </duplicate_institutions_sourcelist_id>
75 11107 aaronmk
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
76
                                            </specimenreplicate>
77
                                        </plantobservation>
78
                                    </aggregateoccurrence>
79
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
81
                                    <taxondetermination>
82
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
83
                                        <taxonverbatim_id>
84
                                            <taxonverbatim>
85
                                                <taxonlabel_id>
86
                                                    <taxonlabel>
87
                                                        <parent_id>
88
                                                            <taxonlabel>
89
                                                                <rank>$taxonRank</rank>
90
                                                                <parent_id>
91
                                                                    <taxonlabel>
92
                                                                        <rank>cultivar</rank>
93
                                                                        <parent_id>
94
                                                                            <taxonlabel>
95
                                                                                <rank>forma</rank>
96
                                                                                <parent_id>
97
                                                                                    <taxonlabel>
98
                                                                                        <rank>variety</rank>
99
                                                                                        <parent_id>
100
                                                                                            <taxonlabel>
101
                                                                                                <rank>subspecies</rank>
102
                                                                                                <parent_id>
103
                                                                                                    <taxonlabel>
104
                                                                                                        <rank>species</rank>
105
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
106
                                                                                                        <parent_id>
107
                                                                                                            <taxonlabel>
108
                                                                                                                <rank>genus</rank>
109
                                                                                                                <taxonepithet>$genus</taxonepithet>
110
                                                                                                                <parent_id>
111
                                                                                                                    <taxonlabel>
112
                                                                                                                        <rank>family</rank>
113
                                                                                                                        <taxonepithet>$family</taxonepithet>
114
                                                                                                                        <parent_id>
115
                                                                                                                            <taxonlabel>
116
                                                                                                                                <rank>order</rank>
117
                                                                                                                                <parent_id>
118
                                                                                                                                    <taxonlabel>
119
                                                                                                                                        <rank>class</rank>
120
                                                                                                                                        <parent_id>
121
                                                                                                                                            <taxonlabel>
122
                                                                                                                                                <rank>phylum</rank>
123
                                                                                                                                                <parent_id>
124
                                                                                                                                                    <taxonlabel>
125
                                                                                                                                                        <rank>kingdom</rank>
126
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                    </taxonlabel>
128
                                                                                                                                                </parent_id>
129
                                                                                                                                            </taxonlabel>
130
                                                                                                                                        </parent_id>
131
                                                                                                                                    </taxonlabel>
132
                                                                                                                                </parent_id>
133
                                                                                                                            </taxonlabel>
134
                                                                                                                        </parent_id>
135
                                                                                                                    </taxonlabel>
136
                                                                                                                </parent_id>
137
                                                                                                            </taxonlabel>
138
                                                                                                        </parent_id>
139
                                                                                                    </taxonlabel>
140
                                                                                                </parent_id>
141
                                                                                            </taxonlabel>
142
                                                                                        </parent_id>
143
                                                                                    </taxonlabel>
144
                                                                                </parent_id>
145
                                                                            </taxonlabel>
146
                                                                        </parent_id>
147
                                                                    </taxonlabel>
148
                                                                </parent_id>
149
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
150
                                                            </taxonlabel>
151
                                                        </parent_id>
152
                                                        <rank>$taxonRank</rank>
153
                                                        <taxonomicname>
154
                                                            <_merge_prefix>
155
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
156
                                                                <value>
157
                                                                    <_alt>
158
                                                                        <1>$scientificName</1>
159
                                                                        <2>
160
                                                                            <_join_words>
161
                                                                                <1>
162
                                                                                    <_join_words>
163
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
164
                                                                                        <3>$specificEpithet</3>
165
                                                                                        <5>
166
                                                                                            <_join_words>
167
                                                                                                <1>
168
                                                                                                    <_if name="if has infraspecificEpithet">
169
                                                                                                        <cond>$infraspecificEpithet</cond>
170
                                                                                                        <then>$taxonRank</then>
171
                                                                                                    </_if>
172
                                                                                                </1>
173
                                                                                                <2>$infraspecificEpithet</2>
174
                                                                                            </_join_words>
175
                                                                                        </5>
176
                                                                                    </_join_words>
177
                                                                                </1>
178
                                                                                <2>$scientificNameAuthorship</2>
179
                                                                            </_join_words>
180
                                                                        </2>
181
                                                                    </_alt>
182
                                                                </value>
183
                                                            </_merge_prefix>
184
                                                        </taxonomicname>
185
                                                    </taxonlabel>
186
                                                </taxonlabel_id>
187
                                                <author>$scientificNameAuthorship</author>
188
                                                <family>$family</family>
189
                                                <genus>$genus</genus>
190
                                                <specific_epithet>$specificEpithet</specific_epithet>
191
                                                <taxonomicname>$scientificName</taxonomicname>
192
                                                <verbatimrank>$taxonRank</verbatimrank>
193
                                            </taxonverbatim>
194
                                        </taxonverbatim_id>
195
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
196
                                        <notes>$taxonRemarks</notes>
197
                                        <taxonfit>$identificationQualifier</taxonfit>
198
                                    </taxondetermination>
199
                                </taxonoccurrence>
200
                            </locationevent>
201 6403 aaronmk
                        </locationevent>
202
                        <locationnarrative>
203
                            <_merge>
204
                                <1>$locality</1>
205
                                <3>
206
                                    <_label>
207
                                        <label>habitat</label>
208
                                        <value>$habitat</value>
209
                                    </_label>
210
                                </3>
211
                            </_merge>
212
                        </locationnarrative>
213
                        <locationplace>
214
                            <place_id>
215 6345 aaronmk
                                <place>
216
                                    <coordinates_id>
217
                                        <coordinates>
218 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
219 6345 aaronmk
                                            <latitude_deg>
220
                                                <_nullIf>
221
                                                    <null>0</null>
222
                                                    <type>float</type>
223
                                                    <value>$decimalLatitude</value>
224
                                                </_nullIf>
225
                                            </latitude_deg>
226
                                            <longitude_deg>
227
                                                <_nullIf>
228
                                                    <null>0</null>
229
                                                    <type>float</type>
230
                                                    <value>$decimalLongitude</value>
231
                                                </_nullIf>
232
                                            </longitude_deg>
233 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
234 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
235
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
236 6345 aaronmk
                                        </coordinates>
237
                                    </coordinates_id>
238
                                    <country>$country</country>
239 6403 aaronmk
                                    <matched_place_id>
240
                                        <place>
241
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
242
                                            <coordinates_id>
243
                                                <coordinates>
244
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
245
                                                    <latitude_deg>
246
                                                        <_nullIf>
247
                                                            <null>0</null>
248
                                                            <type>float</type>
249
                                                            <value>$decimalLatitude</value>
250
                                                        </_nullIf>
251
                                                    </latitude_deg>
252
                                                    <longitude_deg>
253
                                                        <_nullIf>
254
                                                            <null>0</null>
255
                                                            <type>float</type>
256
                                                            <value>$decimalLongitude</value>
257
                                                        </_nullIf>
258
                                                    </longitude_deg>
259
                                                </coordinates>
260
                                            </coordinates_id>
261
                                            <country>$country</country>
262
                                            <stateprovince>$stateProvince</stateprovince>
263
                                        </place>
264
                                    </matched_place_id>
265 6345 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
266
                                </place>
267 6403 aaronmk
                            </place_id>
268
                        </locationplace>
269
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
270
                    </location>
271
                </path>
272
            </_simplifyPath>
273 6345 aaronmk
        </path>
274 6403 aaronmk
    </_setDefault>
275 6345 aaronmk
</VegBIEN>
276 7162 aaronmk
Inserted 38 new rows into database