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