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