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
|
<max>$maximumElevationInMeters</max>
|
36
|
<min>$minimumElevationInMeters</min>
|
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>$fieldNotes</notes>
|
59
|
<plantobservation>
|
60
|
<authorplantcode>
|
61
|
<_alt>
|
62
|
<0>$fieldNumber</0>
|
63
|
<1>$recordNumber</1>
|
64
|
</_alt>
|
65
|
</authorplantcode>
|
66
|
<definedvalue fkey="tablerecord_id">
|
67
|
<userdefined_id>
|
68
|
<userdefined>
|
69
|
<tablename>plantobservation</tablename>
|
70
|
<userdefinedname>sex</userdefinedname>
|
71
|
</userdefined>
|
72
|
</userdefined_id>
|
73
|
<definedvalue>$sex</definedvalue>
|
74
|
</definedvalue>
|
75
|
<specimenreplicate>
|
76
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
77
|
<collectioncode_dwc>$collectionCode</collectioncode_dwc>
|
78
|
<collectionnumber>
|
79
|
<_alt>
|
80
|
<0>$fieldNumber</0>
|
81
|
<1>$recordNumber</1>
|
82
|
</_alt>
|
83
|
</collectionnumber>
|
84
|
<institution_id>
|
85
|
<sourcelist>
|
86
|
<name>$institutionCode</name>
|
87
|
<sourcename>
|
88
|
<name>
|
89
|
<_split>
|
90
|
<separator>[,;] *</separator>
|
91
|
<value>$institutionCode</value>
|
92
|
</_split>
|
93
|
</name>
|
94
|
</sourcename>
|
95
|
</sourcelist>
|
96
|
</institution_id>
|
97
|
<sourceaccessioncode>$symbiotaId</sourceaccessioncode>
|
98
|
</specimenreplicate>
|
99
|
</plantobservation>
|
100
|
</aggregateoccurrence>
|
101
|
<collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
|
102
|
<iscultivated>
|
103
|
<_map>
|
104
|
<cultivated>t</cultivated>
|
105
|
<wild>f</wild>
|
106
|
<*></*>
|
107
|
<value>$establishmentMeans</value>
|
108
|
</_map>
|
109
|
</iscultivated>
|
110
|
<isnative>
|
111
|
<_map>
|
112
|
<native>t</native>
|
113
|
<exotic>f</exotic>
|
114
|
<*></*>
|
115
|
<value>$establishmentMeans</value>
|
116
|
</_map>
|
117
|
</isnative>
|
118
|
<sourceaccessioncode>$symbiotaId</sourceaccessioncode>
|
119
|
<taxondetermination>
|
120
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
121
|
<taxonverbatim_id>
|
122
|
<taxonverbatim>
|
123
|
<taxonlabel_id>
|
124
|
<taxonlabel>
|
125
|
<parent_id>
|
126
|
<taxonlabel>
|
127
|
<rank>$taxonRank</rank>
|
128
|
<parent_id>
|
129
|
<taxonlabel>
|
130
|
<rank>cultivar</rank>
|
131
|
<parent_id>
|
132
|
<taxonlabel>
|
133
|
<rank>forma</rank>
|
134
|
<parent_id>
|
135
|
<taxonlabel>
|
136
|
<rank>variety</rank>
|
137
|
<parent_id>
|
138
|
<taxonlabel>
|
139
|
<rank>subspecies</rank>
|
140
|
<parent_id>
|
141
|
<taxonlabel>
|
142
|
<rank>species</rank>
|
143
|
<taxonepithet>$specificEpithet</taxonepithet>
|
144
|
<parent_id>
|
145
|
<taxonlabel>
|
146
|
<rank>genus</rank>
|
147
|
<taxonepithet>$genus</taxonepithet>
|
148
|
<parent_id>
|
149
|
<taxonlabel>
|
150
|
<rank>family</rank>
|
151
|
<taxonepithet>$family</taxonepithet>
|
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
|
</taxonlabel>
|
165
|
</parent_id>
|
166
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
167
|
</taxonlabel>
|
168
|
</parent_id>
|
169
|
<rank>$taxonRank</rank>
|
170
|
<taxonomicname>
|
171
|
<_merge_prefix>
|
172
|
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
|
173
|
<value>
|
174
|
<_alt>
|
175
|
<1>$scientificName</1>
|
176
|
<2>
|
177
|
<_join_words>
|
178
|
<1>
|
179
|
<_join_words>
|
180
|
<2>$genus</2>
|
181
|
<3>$specificEpithet</3>
|
182
|
<5>
|
183
|
<_join_words>
|
184
|
<1>
|
185
|
<_if name="if has infraspecificEpithet">
|
186
|
<cond>$infraspecificEpithet</cond>
|
187
|
<then>$taxonRank</then>
|
188
|
</_if>
|
189
|
</1>
|
190
|
<2>$infraspecificEpithet</2>
|
191
|
</_join_words>
|
192
|
</5>
|
193
|
</_join_words>
|
194
|
</1>
|
195
|
<2>$scientificNameAuthorship</2>
|
196
|
</_join_words>
|
197
|
</2>
|
198
|
</_alt>
|
199
|
</value>
|
200
|
</_merge_prefix>
|
201
|
</taxonomicname>
|
202
|
</taxonlabel>
|
203
|
</taxonlabel_id>
|
204
|
<author>$scientificNameAuthorship</author>
|
205
|
<family>$family</family>
|
206
|
<genus>$genus</genus>
|
207
|
<specific_epithet>$specificEpithet</specific_epithet>
|
208
|
<taxonomicname>$scientificName</taxonomicname>
|
209
|
<verbatimrank>$taxonRank</verbatimrank>
|
210
|
</taxonverbatim>
|
211
|
</taxonverbatim_id>
|
212
|
<determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
|
213
|
<notes>$taxonRemarks</notes>
|
214
|
<taxonfit>$identificationQualifier</taxonfit>
|
215
|
</taxondetermination>
|
216
|
</taxonoccurrence>
|
217
|
</locationevent>
|
218
|
<locationnarrative>
|
219
|
<_merge>
|
220
|
<1>$locality</1>
|
221
|
<3>
|
222
|
<_label>
|
223
|
<label>habitat</label>
|
224
|
<value>$habitat</value>
|
225
|
</_label>
|
226
|
</3>
|
227
|
</_merge>
|
228
|
</locationnarrative>
|
229
|
<locationplace>
|
230
|
<place_id>
|
231
|
<place>
|
232
|
<coordinates_id>
|
233
|
<coordinates>
|
234
|
<coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
|
235
|
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
|
236
|
<latitude_deg>
|
237
|
<_nullIf>
|
238
|
<null>0</null>
|
239
|
<type>float</type>
|
240
|
<value>$decimalLatitude</value>
|
241
|
</_nullIf>
|
242
|
</latitude_deg>
|
243
|
<longitude_deg>
|
244
|
<_nullIf>
|
245
|
<null>0</null>
|
246
|
<type>float</type>
|
247
|
<value>$decimalLongitude</value>
|
248
|
</_nullIf>
|
249
|
</longitude_deg>
|
250
|
<verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
|
251
|
</coordinates>
|
252
|
</coordinates_id>
|
253
|
<country>$country</country>
|
254
|
<county>$county</county>
|
255
|
<matched_place_id>
|
256
|
<place>
|
257
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
258
|
<coordinates_id>
|
259
|
<coordinates>
|
260
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
261
|
<latitude_deg>
|
262
|
<_nullIf>
|
263
|
<null>0</null>
|
264
|
<type>float</type>
|
265
|
<value>$decimalLatitude</value>
|
266
|
</_nullIf>
|
267
|
</latitude_deg>
|
268
|
<longitude_deg>
|
269
|
<_nullIf>
|
270
|
<null>0</null>
|
271
|
<type>float</type>
|
272
|
<value>$decimalLongitude</value>
|
273
|
</_nullIf>
|
274
|
</longitude_deg>
|
275
|
</coordinates>
|
276
|
</coordinates_id>
|
277
|
<country>$country</country>
|
278
|
<county>$county</county>
|
279
|
<stateprovince>$stateProvince</stateprovince>
|
280
|
</place>
|
281
|
</matched_place_id>
|
282
|
<stateprovince>$stateProvince</stateprovince>
|
283
|
</place>
|
284
|
</place_id>
|
285
|
</locationplace>
|
286
|
<notespublic>$locationRemarks</notespublic>
|
287
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
288
|
</location>
|
289
|
</path>
|
290
|
</_simplifyPath>
|
291
|
</path>
|
292
|
</_setDefault>
|
293
|
</VegBIEN>
|
294
|
Inserted 39 new rows into database
|