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