1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>HVAA</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>
|
11
|
<_alt>
|
12
|
<1>$symbiotaId</1>
|
13
|
<2>
|
14
|
<_join>
|
15
|
<1>$institutionCode</1>
|
16
|
<2>$collectionCode</2>
|
17
|
<3>$catalogNumber</3>
|
18
|
</_join>
|
19
|
</2>
|
20
|
</_alt>
|
21
|
</authorlocationcode>
|
22
|
<accessconditions>$rights</accessconditions>
|
23
|
<accesslevel>$accessRights</accesslevel>
|
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
|
<1>$minimumElevationInMeters</1>
|
36
|
<2>$maximumElevationInMeters</2>
|
37
|
</_avg>
|
38
|
</2>
|
39
|
</_alt>
|
40
|
</elevation_m>
|
41
|
<iscultivated>
|
42
|
<_locationnarrative_is_cultivated>
|
43
|
<locationnarrative>
|
44
|
<_join>
|
45
|
<1>$locality</1>
|
46
|
<3>$habitat</3>
|
47
|
</_join>
|
48
|
</locationnarrative>
|
49
|
</_locationnarrative_is_cultivated>
|
50
|
</iscultivated>
|
51
|
<locationevent>
|
52
|
<method_id><method><name>$samplingProtocol</name></method></method_id>
|
53
|
<obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
|
54
|
<obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
|
55
|
<taxonoccurrence>
|
56
|
<aggregateoccurrence>
|
57
|
<count>$individualCount</count>
|
58
|
<notes>
|
59
|
<_merge>
|
60
|
<1>$occurrenceRemarks</1>
|
61
|
<2>$dynamicProperties</2>
|
62
|
</_merge>
|
63
|
</notes>
|
64
|
<plantobservation>
|
65
|
<authorplantcode>
|
66
|
<_alt>
|
67
|
<0>$fieldNumber</0>
|
68
|
<1>$recordNumber</1>
|
69
|
</_alt>
|
70
|
</authorplantcode>
|
71
|
<definedvalue fkey="tablerecord_id">
|
72
|
<userdefined_id>
|
73
|
<userdefined>
|
74
|
<tablename>plantobservation</tablename>
|
75
|
<userdefinedname>sex</userdefinedname>
|
76
|
</userdefined>
|
77
|
</userdefined_id>
|
78
|
<definedvalue>$sex</definedvalue>
|
79
|
</definedvalue>
|
80
|
<reproductivecondition>$reproductiveCondition</reproductivecondition>
|
81
|
<specimenreplicate>
|
82
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
83
|
<collectioncode_dwc>$collectionCode</collectioncode_dwc>
|
84
|
<collectionnumber>
|
85
|
<_alt>
|
86
|
<0>$fieldNumber</0>
|
87
|
<1>$recordNumber</1>
|
88
|
</_alt>
|
89
|
</collectionnumber>
|
90
|
<institution_id>
|
91
|
<sourcelist>
|
92
|
<name>$institutionCode</name>
|
93
|
<sourcename>
|
94
|
<name>
|
95
|
<_split>
|
96
|
<separator>[,;] *</separator>
|
97
|
<value>$institutionCode</value>
|
98
|
</_split>
|
99
|
</name>
|
100
|
</sourcename>
|
101
|
</sourcelist>
|
102
|
</institution_id>
|
103
|
<sourceaccessioncode>$symbiotaId</sourceaccessioncode>
|
104
|
</specimenreplicate>
|
105
|
</plantobservation>
|
106
|
</aggregateoccurrence>
|
107
|
<collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
|
108
|
<iscultivated>
|
109
|
<_map>
|
110
|
<cultivated>t</cultivated>
|
111
|
<wild>f</wild>
|
112
|
<*></*>
|
113
|
<value>$establishmentMeans</value>
|
114
|
</_map>
|
115
|
</iscultivated>
|
116
|
<isnative>
|
117
|
<_map>
|
118
|
<native>t</native>
|
119
|
<exotic>f</exotic>
|
120
|
<*></*>
|
121
|
<value>$establishmentMeans</value>
|
122
|
</_map>
|
123
|
</isnative>
|
124
|
<sourceaccessioncode>$symbiotaId</sourceaccessioncode>
|
125
|
<taxondetermination>
|
126
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
127
|
<taxonverbatim_id>
|
128
|
<taxonverbatim>
|
129
|
<taxonlabel_id>
|
130
|
<taxonlabel>
|
131
|
<parent_id>
|
132
|
<taxonlabel>
|
133
|
<rank>$taxonRank</rank>
|
134
|
<parent_id>
|
135
|
<taxonlabel>
|
136
|
<rank>cultivar</rank>
|
137
|
<parent_id>
|
138
|
<taxonlabel>
|
139
|
<rank>forma</rank>
|
140
|
<parent_id>
|
141
|
<taxonlabel>
|
142
|
<rank>variety</rank>
|
143
|
<parent_id>
|
144
|
<taxonlabel>
|
145
|
<rank>subspecies</rank>
|
146
|
<parent_id>
|
147
|
<taxonlabel>
|
148
|
<rank>species</rank>
|
149
|
<taxonepithet>$specificEpithet</taxonepithet>
|
150
|
<parent_id>
|
151
|
<taxonlabel>
|
152
|
<rank>genus</rank>
|
153
|
<taxonepithet>$genus</taxonepithet>
|
154
|
<parent_id>
|
155
|
<taxonlabel>
|
156
|
<rank>family</rank>
|
157
|
<taxonepithet>$family</taxonepithet>
|
158
|
</taxonlabel>
|
159
|
</parent_id>
|
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
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
173
|
</taxonlabel>
|
174
|
</parent_id>
|
175
|
<rank>$taxonRank</rank>
|
176
|
<taxonomicname>
|
177
|
<_merge_prefix>
|
178
|
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
|
179
|
<value>
|
180
|
<_alt>
|
181
|
<1>$scientificName</1>
|
182
|
<2>
|
183
|
<_join_words>
|
184
|
<1>
|
185
|
<_join_words>
|
186
|
<2>$genus</2>
|
187
|
<3>$specificEpithet</3>
|
188
|
<5>
|
189
|
<_join_words>
|
190
|
<1>
|
191
|
<_if name="if has infraspecificEpithet">
|
192
|
<cond>$infraspecificEpithet</cond>
|
193
|
<then>$taxonRank</then>
|
194
|
</_if>
|
195
|
</1>
|
196
|
<2>$infraspecificEpithet</2>
|
197
|
</_join_words>
|
198
|
</5>
|
199
|
</_join_words>
|
200
|
</1>
|
201
|
<2>$scientificNameAuthorship</2>
|
202
|
</_join_words>
|
203
|
</2>
|
204
|
</_alt>
|
205
|
</value>
|
206
|
</_merge_prefix>
|
207
|
</taxonomicname>
|
208
|
</taxonlabel>
|
209
|
</taxonlabel_id>
|
210
|
<author>$scientificNameAuthorship</author>
|
211
|
<family>$family</family>
|
212
|
<genus>$genus</genus>
|
213
|
<specific_epithet>$specificEpithet</specific_epithet>
|
214
|
<taxonomicname>$scientificName</taxonomicname>
|
215
|
<verbatimrank>$taxonRank</verbatimrank>
|
216
|
</taxonverbatim>
|
217
|
</taxonverbatim_id>
|
218
|
<determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
|
219
|
<notes>$taxonRemarks</notes>
|
220
|
<taxonfit>$identificationQualifier</taxonfit>
|
221
|
</taxondetermination>
|
222
|
</taxonoccurrence>
|
223
|
</locationevent>
|
224
|
<locationnarrative>
|
225
|
<_merge>
|
226
|
<1>$locality</1>
|
227
|
<3>
|
228
|
<_label>
|
229
|
<label>habitat</label>
|
230
|
<value>$habitat</value>
|
231
|
</_label>
|
232
|
</3>
|
233
|
<4>$locationRemarks</4>
|
234
|
</_merge>
|
235
|
</locationnarrative>
|
236
|
<locationplace>
|
237
|
<place_id>
|
238
|
<place>
|
239
|
<coordinates_id>
|
240
|
<coordinates>
|
241
|
<coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
|
242
|
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
|
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
|
<verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
|
258
|
</coordinates>
|
259
|
</coordinates_id>
|
260
|
<country>$country</country>
|
261
|
<county>$county</county>
|
262
|
<matched_place_id>
|
263
|
<place>
|
264
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
265
|
<coordinates_id>
|
266
|
<coordinates>
|
267
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
268
|
<latitude_deg>
|
269
|
<_nullIf>
|
270
|
<null>0</null>
|
271
|
<type>float</type>
|
272
|
<value>$decimalLatitude</value>
|
273
|
</_nullIf>
|
274
|
</latitude_deg>
|
275
|
<longitude_deg>
|
276
|
<_nullIf>
|
277
|
<null>0</null>
|
278
|
<type>float</type>
|
279
|
<value>$decimalLongitude</value>
|
280
|
</_nullIf>
|
281
|
</longitude_deg>
|
282
|
</coordinates>
|
283
|
</coordinates_id>
|
284
|
<country>$country</country>
|
285
|
<county>$county</county>
|
286
|
<stateprovince>$stateProvince</stateprovince>
|
287
|
</place>
|
288
|
</matched_place_id>
|
289
|
<stateprovince>$stateProvince</stateprovince>
|
290
|
</place>
|
291
|
</place_id>
|
292
|
</locationplace>
|
293
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
294
|
</location>
|
295
|
</path>
|
296
|
</_simplifyPath>
|
297
|
</path>
|
298
|
</_setDefault>
|
299
|
</VegBIEN>
|
300
|
Inserted 39 new rows into database
|