Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_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 3786 aaronmk
                            <_units>
72
                                <default>m</default>
73
                                <to>m</to>
74
                                <to></to>
75 3984 aaronmk
                                <value>
76 3786 aaronmk
                                    <_rangeStart>
77
                                        <value>
78
                                            <_replace>
79
                                                <\bca\.?></\bca\.?>
80
                                                <value>$minimumElevationInMeters</value>
81
                                            </_replace>
82
                                        </value>
83
                                    </_rangeStart>
84
                                </value>
85
                            </_units>
86 4621 aaronmk
                        </from>
87
                        <to>
88
                            <_units>
89
                                <default>m</default>
90
                                <to>m</to>
91
                                <to></to>
92 3786 aaronmk
                                <value>
93 4621 aaronmk
                                    <_alt>
94
                                        <1>
95 3786 aaronmk
                                            <_replace>
96
                                                <\bca\.?></\bca\.?>
97 4621 aaronmk
                                                <value>$maximumElevationInMeters</value>
98 3786 aaronmk
                                            </_replace>
99 4621 aaronmk
                                        </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
                <locationdetermination>
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
                    <namedplace_id>
156 4622 aaronmk
                        <namedplace>
157
                            <rank>county</rank>
158
                            <placename>$county</placename>
159
                            <parent_id>
160 3786 aaronmk
                                <namedplace>
161 4622 aaronmk
                                    <rank>stateProvince</rank>
162
                                    <placename>$stateProvince</placename>
163 3786 aaronmk
                                    <parent_id>
164 3770 aaronmk
                                        <namedplace>
165 4622 aaronmk
                                            <rank>country</rank>
166
                                            <placename>$country</placename>
167 3770 aaronmk
                                            <parent_id>
168
                                                <namedplace>
169 4622 aaronmk
                                                    <rank>continent</rank>
170
                                                    <placename>$continent</placename>
171 3770 aaronmk
                                                </namedplace>
172
                                            </parent_id>
173
                                        </namedplace>
174 3786 aaronmk
                                    </parent_id>
175
                                </namedplace>
176 4622 aaronmk
                            </parent_id>
177
                        </namedplace>
178 4621 aaronmk
                    </namedplace_id>
179
                </locationdetermination>
180
                <locationevent>
181
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
182
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
183
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
184
                    <taxonoccurrence>
185
                        <aggregateoccurrence>
186
                            <count>$individualCount</count>
187
                            <plantobservation>
188
                                <definedvalue fkey="tablerecord_id">
189
                                    <userdefined_id>
190
                                        <userdefined>
191
                                            <tablename>plantobservation</tablename>
192
                                            <userdefinedname>sex</userdefinedname>
193
                                        </userdefined>
194
                                    </userdefined_id>
195
                                    <definedvalue>$sex</definedvalue>
196
                                </definedvalue>
197
                                <specimenreplicate>
198
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
199
                                    <collectioncode_dwc>
200
                                        <_join>
201
                                            <1>$collectionCode</1>
202
                                            <2>$collectionID</2>
203
                                        </_join>
204
                                    </collectioncode_dwc>
205
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
206
                                    <sourceaccessioncode>$id</sourceaccessioncode>
207
                                </specimenreplicate>
208
                            </plantobservation>
209
                        </aggregateoccurrence>
210
                        <authortaxoncode>$scientificName</authortaxoncode>
211
                        <taxondetermination>
212
                            <party_id>
213
                                <party>
214
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
215
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
216
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
217
                                </party>
218
                            </party_id>
219
                            <plantconcept_id>
220
                                <plantconcept>
221
                                    <plantname_id>
222 4622 aaronmk
                                        <plantname>
223
                                            <rank>binomial</rank>
224
                                            <plantname>$scientificName</plantname>
225
                                            <parent_id>
226 3641 aaronmk
                                                <plantname>
227 4622 aaronmk
                                                    <rank>authority</rank>
228
                                                    <plantname>$scientificNameAuthorship</plantname>
229 3641 aaronmk
                                                    <parent_id>
230
                                                        <plantname>
231 4622 aaronmk
                                                            <rank>subspecies</rank>
232
                                                            <plantname>
233
                                                                <_name>
234
                                                                    <first>$taxonRank</first>
235
                                                                    <last>$infraspecificEpithet</last>
236
                                                                </_name>
237
                                                            </plantname>
238 3641 aaronmk
                                                            <parent_id>
239
                                                                <plantname>
240 4622 aaronmk
                                                                    <rank>species</rank>
241
                                                                    <plantname>$specificEpithet</plantname>
242 3641 aaronmk
                                                                    <parent_id>
243
                                                                        <plantname>
244 4622 aaronmk
                                                                            <rank>genus</rank>
245
                                                                            <plantname>$genus</plantname>
246 3641 aaronmk
                                                                            <parent_id>
247
                                                                                <plantname>
248 4622 aaronmk
                                                                                    <rank>family</rank>
249
                                                                                    <plantname>$family</plantname>
250 3641 aaronmk
                                                                                    <parent_id>
251
                                                                                        <plantname>
252 4622 aaronmk
                                                                                            <rank>order</rank>
253
                                                                                            <plantname>$order</plantname>
254 3641 aaronmk
                                                                                            <parent_id>
255
                                                                                                <plantname>
256 4622 aaronmk
                                                                                                    <rank>class</rank>
257
                                                                                                    <plantname>$class</plantname>
258 3641 aaronmk
                                                                                                    <parent_id>
259
                                                                                                        <plantname>
260 4622 aaronmk
                                                                                                            <rank>subkingdom</rank>
261
                                                                                                            <plantname>$phylum</plantname>
262 3786 aaronmk
                                                                                                            <parent_id>
263
                                                                                                                <plantname>
264 4622 aaronmk
                                                                                                                    <rank>kingdom</rank>
265
                                                                                                                    <plantname>$kingdom</plantname>
266 3786 aaronmk
                                                                                                                </plantname>
267
                                                                                                            </parent_id>
268 3641 aaronmk
                                                                                                        </plantname>
269
                                                                                                    </parent_id>
270
                                                                                                </plantname>
271
                                                                                            </parent_id>
272
                                                                                        </plantname>
273
                                                                                    </parent_id>
274
                                                                                </plantname>
275
                                                                            </parent_id>
276
                                                                        </plantname>
277
                                                                    </parent_id>
278
                                                                </plantname>
279
                                                            </parent_id>
280
                                                        </plantname>
281
                                                    </parent_id>
282
                                                </plantname>
283 4622 aaronmk
                                            </parent_id>
284
                                        </plantname>
285 4621 aaronmk
                                    </plantname_id>
286
                                </plantconcept>
287
                            </plantconcept_id>
288
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
289
                            <taxonfit>$identificationQualifier</taxonfit>
290
                        </taxondetermination>
291
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
292
                    </taxonoccurrence>
293
                </locationevent>
294
                <locationnarrative>
295
                    <_merge>
296
                        <1>$locality</1>
297
                        <3>
298
                            <_label>
299
                                <label>habitat</label>
300
                                <value>$habitat</value>
301
                            </_label>
302
                        </3>
303
                    </_merge>
304
                </locationnarrative>
305
            </location>
306
        </path>
307
    </_simplifyPath>
308 3641 aaronmk
</VegBIEN>
309 4196 aaronmk
Inserted 35 new rows into database