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
|
<plantobservation>
|
151
|
<definedvalue fkey="tablerecord_id">
|
152
|
<userdefined_id>
|
153
|
<userdefined>
|
154
|
<tablename>plantobservation</tablename>
|
155
|
<userdefinedname>sex</userdefinedname>
|
156
|
</userdefined>
|
157
|
</userdefined_id>
|
158
|
<definedvalue>$sex</definedvalue>
|
159
|
</definedvalue>
|
160
|
<specimenreplicate>
|
161
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
162
|
<collectioncode_dwc>$collectionCode</collectioncode_dwc>
|
163
|
<collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
|
164
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
165
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
166
|
<verbatimcollectorname>$recordedBy</verbatimcollectorname>
|
167
|
</specimenreplicate>
|
168
|
</plantobservation>
|
169
|
</aggregateoccurrence>
|
170
|
<taxondetermination>
|
171
|
<role>identifier</role>
|
172
|
<determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
|
173
|
<iscurrent>true</iscurrent>
|
174
|
<party_id>
|
175
|
<party>
|
176
|
<givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
|
177
|
<middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
|
178
|
<surname><_namePart><last>$identifiedBy</last></_namePart></surname>
|
179
|
</party>
|
180
|
</party_id>
|
181
|
<isoriginal>true</isoriginal>
|
182
|
<plantconcept_id>
|
183
|
<plantconcept>
|
184
|
<plantname_id>
|
185
|
<_simplifyPath>
|
186
|
<next>parent_id/plantname</next>
|
187
|
<require>plantname</require>
|
188
|
<path>
|
189
|
<plantname>
|
190
|
<rank>binomial</rank>
|
191
|
<plantname>$scientificName</plantname>
|
192
|
<parent_id>
|
193
|
<plantname>
|
194
|
<rank>authority</rank>
|
195
|
<plantname>$scientificNameAuthorship</plantname>
|
196
|
<parent_id>
|
197
|
<plantname>
|
198
|
<rank>subspecies</rank>
|
199
|
<plantname>$infraspecificEpithet</plantname>
|
200
|
<parent_id>
|
201
|
<plantname>
|
202
|
<rank>species</rank>
|
203
|
<plantname>$specificEpithet</plantname>
|
204
|
<parent_id>
|
205
|
<plantname>
|
206
|
<rank>genus</rank>
|
207
|
<plantname>$genus</plantname>
|
208
|
<parent_id>
|
209
|
<plantname>
|
210
|
<rank>family</rank>
|
211
|
<plantname>$family</plantname>
|
212
|
<parent_id>
|
213
|
<plantname>
|
214
|
<rank>order</rank>
|
215
|
<plantname>$order</plantname>
|
216
|
<parent_id>
|
217
|
<plantname>
|
218
|
<rank>class</rank>
|
219
|
<plantname>$class</plantname>
|
220
|
<parent_id>
|
221
|
<plantname>
|
222
|
<rank>subkingdom</rank>
|
223
|
<plantname>$phylum</plantname>
|
224
|
<parent_id>
|
225
|
<plantname>
|
226
|
<rank>kingdom</rank>
|
227
|
<plantname>$kingdom</plantname>
|
228
|
</plantname>
|
229
|
</parent_id>
|
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
|
</path>
|
248
|
</_simplifyPath>
|
249
|
</plantname_id>
|
250
|
</plantconcept>
|
251
|
</plantconcept_id>
|
252
|
</taxondetermination>
|
253
|
</taxonoccurrence>
|
254
|
</locationevent>
|
255
|
<locationnarrative>
|
256
|
<_merge>
|
257
|
<1>$locality</1>
|
258
|
<3>
|
259
|
<_label>
|
260
|
<label>habitat</label>
|
261
|
<value>$habitat</value>
|
262
|
</_label>
|
263
|
</3>
|
264
|
</_merge>
|
265
|
</locationnarrative>
|
266
|
<sourceaccessioncode>
|
267
|
<_alt>
|
268
|
<1>$id</1>
|
269
|
<2>
|
270
|
<_merge>
|
271
|
<1>$institutionCode</1>
|
272
|
<2>$collectionCode</2>
|
273
|
<3>$catalogNumber</3>
|
274
|
</_merge>
|
275
|
</2>
|
276
|
</_alt>
|
277
|
</sourceaccessioncode>
|
278
|
</location>
|
279
|
</VegBIEN>
|
280
|
Inserted 34 new rows into database
|