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