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