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