1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$id</1>
|
10
|
<2>
|
11
|
<_join>
|
12
|
<1>$institutionCode</1>
|
13
|
<2>
|
14
|
<_join>
|
15
|
<1>$collectionCode</1>
|
16
|
<2>$collectionID</2>
|
17
|
</_join>
|
18
|
</2>
|
19
|
<3>$catalogNumber</3>
|
20
|
</_join>
|
21
|
</2>
|
22
|
</_alt>
|
23
|
</authorlocationcode>
|
24
|
<elevation_m>
|
25
|
<_alt>
|
26
|
<1>
|
27
|
<_units>
|
28
|
<to>m</to>
|
29
|
<to></to>
|
30
|
<value>$verbatimElevation</value>
|
31
|
</_units>
|
32
|
</1>
|
33
|
<2>
|
34
|
<_avg>
|
35
|
<max>$maximumElevationInMeters</max>
|
36
|
<min>$minimumElevationInMeters</min>
|
37
|
</_avg>
|
38
|
</2>
|
39
|
</_alt>
|
40
|
</elevation_m>
|
41
|
<locationevent>
|
42
|
<method_id><method><name>$samplingProtocol</name></method></method_id>
|
43
|
<obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
|
44
|
<obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
|
45
|
<taxonoccurrence>
|
46
|
<aggregateoccurrence>
|
47
|
<count>$individualCount</count>
|
48
|
<plantobservation>
|
49
|
<definedvalue fkey="tablerecord_id">
|
50
|
<userdefined_id>
|
51
|
<userdefined>
|
52
|
<tablename>plantobservation</tablename>
|
53
|
<userdefinedname>sex</userdefinedname>
|
54
|
</userdefined>
|
55
|
</userdefined_id>
|
56
|
<definedvalue>$sex</definedvalue>
|
57
|
</definedvalue>
|
58
|
<specimenreplicate>
|
59
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
60
|
<collectioncode_dwc>
|
61
|
<_join>
|
62
|
<1>$collectionCode</1>
|
63
|
<2>$collectionID</2>
|
64
|
</_join>
|
65
|
</collectioncode_dwc>
|
66
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
67
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
68
|
</specimenreplicate>
|
69
|
</plantobservation>
|
70
|
</aggregateoccurrence>
|
71
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
72
|
<taxondetermination>
|
73
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
74
|
<taxonverbatim_id>
|
75
|
<taxonverbatim>
|
76
|
<taxonlabel_id>
|
77
|
<taxonlabel>
|
78
|
<matched_label_id>
|
79
|
<taxonlabel>
|
80
|
<reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
|
81
|
<taxonomicname>
|
82
|
<_join_words>
|
83
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
84
|
<2>
|
85
|
<_join_words>
|
86
|
<1>
|
87
|
<_alt>
|
88
|
<1>$scientificName</1>
|
89
|
<2>
|
90
|
<_join_words>
|
91
|
<2>$genus</2>
|
92
|
<3>$specificEpithet</3>
|
93
|
<5>
|
94
|
<_join_words>
|
95
|
<1>
|
96
|
<_if name="if has infraspecificEpithet">
|
97
|
<cond>$infraspecificEpithet</cond>
|
98
|
<then>$taxonRank</then>
|
99
|
</_if>
|
100
|
</1>
|
101
|
<2>$infraspecificEpithet</2>
|
102
|
</_join_words>
|
103
|
</5>
|
104
|
</_join_words>
|
105
|
</2>
|
106
|
</_alt>
|
107
|
</1>
|
108
|
<2>$scientificNameAuthorship</2>
|
109
|
</_join_words>
|
110
|
</2>
|
111
|
</_join_words>
|
112
|
</taxonomicname>
|
113
|
</taxonlabel>
|
114
|
</matched_label_id>
|
115
|
<creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
|
116
|
<parent_id>
|
117
|
<taxonlabel>
|
118
|
<rank>$taxonRank</rank>
|
119
|
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
|
120
|
<parent_id>
|
121
|
<taxonlabel>
|
122
|
<rank>cultivar</rank>
|
123
|
<parent_id>
|
124
|
<taxonlabel>
|
125
|
<rank>forma</rank>
|
126
|
<parent_id>
|
127
|
<taxonlabel>
|
128
|
<rank>variety</rank>
|
129
|
<parent_id>
|
130
|
<taxonlabel>
|
131
|
<rank>subspecies</rank>
|
132
|
<parent_id>
|
133
|
<taxonlabel>
|
134
|
<rank>species</rank>
|
135
|
<taxonepithet>$specificEpithet</taxonepithet>
|
136
|
<parent_id>
|
137
|
<taxonlabel>
|
138
|
<rank>genus</rank>
|
139
|
<taxonepithet>$genus</taxonepithet>
|
140
|
<parent_id>
|
141
|
<taxonlabel>
|
142
|
<rank>family</rank>
|
143
|
<taxonepithet>$family</taxonepithet>
|
144
|
<parent_id>
|
145
|
<taxonlabel>
|
146
|
<rank>order</rank>
|
147
|
<taxonepithet>$order</taxonepithet>
|
148
|
<parent_id>
|
149
|
<taxonlabel>
|
150
|
<rank>class</rank>
|
151
|
<taxonepithet>$class</taxonepithet>
|
152
|
<parent_id>
|
153
|
<taxonlabel>
|
154
|
<rank>phylum</rank>
|
155
|
<taxonepithet>$phylum</taxonepithet>
|
156
|
<parent_id>
|
157
|
<taxonlabel>
|
158
|
<rank>kingdom</rank>
|
159
|
<taxonepithet>$kingdom</taxonepithet>
|
160
|
</taxonlabel>
|
161
|
</parent_id>
|
162
|
</taxonlabel>
|
163
|
</parent_id>
|
164
|
</taxonlabel>
|
165
|
</parent_id>
|
166
|
</taxonlabel>
|
167
|
</parent_id>
|
168
|
</taxonlabel>
|
169
|
</parent_id>
|
170
|
</taxonlabel>
|
171
|
</parent_id>
|
172
|
</taxonlabel>
|
173
|
</parent_id>
|
174
|
</taxonlabel>
|
175
|
</parent_id>
|
176
|
</taxonlabel>
|
177
|
</parent_id>
|
178
|
</taxonlabel>
|
179
|
</parent_id>
|
180
|
</taxonlabel>
|
181
|
</parent_id>
|
182
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
183
|
</taxonlabel>
|
184
|
</parent_id>
|
185
|
<rank>$taxonRank</rank>
|
186
|
<taxonomicname>
|
187
|
<_join_words>
|
188
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
189
|
<2>
|
190
|
<_join_words>
|
191
|
<1>
|
192
|
<_alt>
|
193
|
<1>$scientificName</1>
|
194
|
<2>
|
195
|
<_join_words>
|
196
|
<2>$genus</2>
|
197
|
<3>$specificEpithet</3>
|
198
|
<5>
|
199
|
<_join_words>
|
200
|
<1>
|
201
|
<_if name="if has infraspecificEpithet">
|
202
|
<cond>$infraspecificEpithet</cond>
|
203
|
<then>$taxonRank</then>
|
204
|
</_if>
|
205
|
</1>
|
206
|
<2>$infraspecificEpithet</2>
|
207
|
</_join_words>
|
208
|
</5>
|
209
|
</_join_words>
|
210
|
</2>
|
211
|
</_alt>
|
212
|
</1>
|
213
|
<2>$scientificNameAuthorship</2>
|
214
|
</_join_words>
|
215
|
</2>
|
216
|
</_join_words>
|
217
|
</taxonomicname>
|
218
|
</taxonlabel>
|
219
|
</taxonlabel_id>
|
220
|
<author>$scientificNameAuthorship</author>
|
221
|
<family>$family</family>
|
222
|
<genus>$genus</genus>
|
223
|
<specific_epithet>$specificEpithet</specific_epithet>
|
224
|
<taxonname>$scientificName</taxonname>
|
225
|
<verbatimrank>$taxonRank</verbatimrank>
|
226
|
</taxonverbatim>
|
227
|
</taxonverbatim_id>
|
228
|
<determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
|
229
|
<taxonfit>$identificationQualifier</taxonfit>
|
230
|
</taxondetermination>
|
231
|
<verbatimcollectorname>$recordedBy</verbatimcollectorname>
|
232
|
</taxonoccurrence>
|
233
|
</locationevent>
|
234
|
<locationnarrative>
|
235
|
<_merge>
|
236
|
<1>$locality</1>
|
237
|
<3>
|
238
|
<_label>
|
239
|
<label>habitat</label>
|
240
|
<value>$habitat</value>
|
241
|
</_label>
|
242
|
</3>
|
243
|
</_merge>
|
244
|
</locationnarrative>
|
245
|
<locationplace>
|
246
|
<place_id>
|
247
|
<place>
|
248
|
<coordinates_id>
|
249
|
<coordinates>
|
250
|
<coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
|
251
|
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
|
252
|
<latitude_deg>
|
253
|
<_nullIf>
|
254
|
<null>0</null>
|
255
|
<type>float</type>
|
256
|
<value>$decimalLatitude</value>
|
257
|
</_nullIf>
|
258
|
</latitude_deg>
|
259
|
<longitude_deg>
|
260
|
<_nullIf>
|
261
|
<null>0</null>
|
262
|
<type>float</type>
|
263
|
<value>$decimalLongitude</value>
|
264
|
</_nullIf>
|
265
|
</longitude_deg>
|
266
|
<verbatimlatitude>$verbatimLatitude</verbatimlatitude>
|
267
|
<verbatimlongitude>$verbatimLongitude</verbatimlongitude>
|
268
|
</coordinates>
|
269
|
</coordinates_id>
|
270
|
<continent>$continent</continent>
|
271
|
<country>$country</country>
|
272
|
<county>$county</county>
|
273
|
<matched_place_id>
|
274
|
<place>
|
275
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
276
|
<coordinates_id>
|
277
|
<coordinates>
|
278
|
<latitude_deg>
|
279
|
<_nullIf>
|
280
|
<null>0</null>
|
281
|
<type>float</type>
|
282
|
<value>$decimalLatitude</value>
|
283
|
</_nullIf>
|
284
|
</latitude_deg>
|
285
|
<longitude_deg>
|
286
|
<_nullIf>
|
287
|
<null>0</null>
|
288
|
<type>float</type>
|
289
|
<value>$decimalLongitude</value>
|
290
|
</_nullIf>
|
291
|
</longitude_deg>
|
292
|
</coordinates>
|
293
|
</coordinates_id>
|
294
|
<country>$country</country>
|
295
|
<stateprovince>$stateProvince</stateprovince>
|
296
|
</place>
|
297
|
</matched_place_id>
|
298
|
<stateprovince>$stateProvince</stateprovince>
|
299
|
</place>
|
300
|
</place_id>
|
301
|
</locationplace>
|
302
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
303
|
</location>
|
304
|
</path>
|
305
|
</_simplifyPath>
|
306
|
</VegBIEN>
|
307
|
Inserted 36 new rows into database
|