Project

General

Profile

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
                <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
                        <namedplace>
157
                            <rank>county</rank>
158
                            <placename>$county</placename>
159
                            <parent_id>
160
                                <namedplace>
161
                                    <rank>stateProvince</rank>
162
                                    <placename>$stateProvince</placename>
163
                                    <parent_id>
164
                                        <namedplace>
165
                                            <rank>country</rank>
166
                                            <placename>$country</placename>
167
                                            <parent_id>
168
                                                <namedplace>
169
                                                    <rank>continent</rank>
170
                                                    <placename>$continent</placename>
171
                                                </namedplace>
172
                                            </parent_id>
173
                                        </namedplace>
174
                                    </parent_id>
175
                                </namedplace>
176
                            </parent_id>
177
                        </namedplace>
178
                    </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
                                        <plantname>
223
                                            <rank>binomial</rank>
224
                                            <plantname>$scientificName</plantname>
225
                                            <parent_id>
226
                                                <plantname>
227
                                                    <rank>authority</rank>
228
                                                    <plantname>$scientificNameAuthorship</plantname>
229
                                                    <parent_id>
230
                                                        <plantname>
231
                                                            <rank>subspecies</rank>
232
                                                            <plantname>
233
                                                                <_name>
234
                                                                    <first>$taxonRank</first>
235
                                                                    <last>$infraspecificEpithet</last>
236
                                                                </_name>
237
                                                            </plantname>
238
                                                            <parent_id>
239
                                                                <plantname>
240
                                                                    <rank>species</rank>
241
                                                                    <plantname>$specificEpithet</plantname>
242
                                                                    <parent_id>
243
                                                                        <plantname>
244
                                                                            <rank>genus</rank>
245
                                                                            <plantname>$genus</plantname>
246
                                                                            <parent_id>
247
                                                                                <plantname>
248
                                                                                    <rank>family</rank>
249
                                                                                    <plantname>$family</plantname>
250
                                                                                    <parent_id>
251
                                                                                        <plantname>
252
                                                                                            <rank>order</rank>
253
                                                                                            <plantname>$order</plantname>
254
                                                                                            <parent_id>
255
                                                                                                <plantname>
256
                                                                                                    <rank>class</rank>
257
                                                                                                    <plantname>$class</plantname>
258
                                                                                                    <parent_id>
259
                                                                                                        <plantname>
260
                                                                                                            <rank>subkingdom</rank>
261
                                                                                                            <plantname>$phylum</plantname>
262
                                                                                                            <parent_id>
263
                                                                                                                <plantname>
264
                                                                                                                    <rank>kingdom</rank>
265
                                                                                                                    <plantname>$kingdom</plantname>
266
                                                                                                                </plantname>
267
                                                                                                            </parent_id>
268
                                                                                                        </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
                                            </parent_id>
284
                                        </plantname>
285
                                    </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
</VegBIEN>
309
Inserted 35 new rows into database
(4-4/4)