Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$InstitutionCode</1>
7
                <2>$CollectionCode</2>
8
                <3>$CatalogNumberNumeric</3>
9
            </_merge>
10
        </authorlocationcode>
11
        <elevation>
12
            <_alt>
13
                <1>
14
                    <_replace>
15
                        <\bca\.?></\bca\.?>
16
                        <value>$VerbatimElevation</value>
17
                    </_replace>
18
                </1>
19
                <2>
20
                    <_avg>
21
                        <max>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26
                                <value>
27
                                    <_replace>
28
                                        <\bca\.?></\bca\.?>
29
                                        <value>$MaximumElevationInMeters</value>
30
                                    </_replace>
31
                                </value>
32
                            </_units>
33
                        </max>
34
                        <min>
35
                            <_units>
36
                                <default>m</default>
37
                                <to>m</to>
38
                                <to></to>
39
                                <value>
40
                                    <_rangeStart>
41
                                        <value>
42
                                            <_replace>
43
                                                <\bca\.?></\bca\.?>
44
                                                <value>$MinimumElevationInMeters</value>
45
                                            </_replace>
46
                                        </value>
47
                                    </_rangeStart>
48
                                </value>
49
                            </_units>
50
                        </min>
51
                    </_avg>
52
                </2>
53
            </_alt>
54
        </elevation>
55
        <elevationrange>
56
            <_range>
57
                <from>
58
                    <_units>
59
                        <default>m</default>
60
                        <to>m</to>
61
                        <to></to>
62
                        <value>
63
                            <_rangeStart>
64
                                <value>
65
                                    <_replace>
66
                                        <\bca\.?></\bca\.?>
67
                                        <value>$MinimumElevationInMeters</value>
68
                                    </_replace>
69
                                </value>
70
                            </_rangeStart>
71
                        </value>
72
                    </_units>
73
                </from>
74
                <to>
75
                    <_units>
76
                        <default>m</default>
77
                        <to>m</to>
78
                        <to></to>
79
                        <value>
80
                            <_alt>
81
                                <1>
82
                                    <_replace>
83
                                        <\bca\.?></\bca\.?>
84
                                        <value>$MaximumElevationInMeters</value>
85
                                    </_replace>
86
                                </1>
87
                                <2>
88
                                    <_rangeEnd>
89
                                        <value>
90
                                            <_replace>
91
                                                <\bca\.?></\bca\.?>
92
                                                <value>$MinimumElevationInMeters</value>
93
                                            </_replace>
94
                                        </value>
95
                                    </_rangeEnd>
96
                                </2>
97
                            </_alt>
98
                        </value>
99
                    </_units>
100
                </to>
101
            </_range>
102
        </elevationrange>
103
        <locationdetermination>
104
            <coordsaccuracy><_noCV><value><_alt><1>$CoordinateUncertaintyInMeters</1></_alt></value></_noCV></coordsaccuracy>
105
            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
106
            <latitude>
107
                <_alt>
108
                    <1>
109
                        <_nullIf>
110
                            <null>0</null>
111
                            <type>float</type>
112
                            <value>$DecimalLatitude</value>
113
                        </_nullIf>
114
                    </1>
115
                    <2>
116
                        <_nullIf>
117
                            <null>0</null>
118
                            <type>float</type>
119
                            <value>$VerbatimLatitude</value>
120
                        </_nullIf>
121
                    </2>
122
                </_alt>
123
            </latitude>
124
            <longitude>
125
                <_alt>
126
                    <1>
127
                        <_nullIf>
128
                            <null>0</null>
129
                            <type>float</type>
130
                            <value>$DecimalLongitude</value>
131
                        </_nullIf>
132
                    </1>
133
                    <2>
134
                        <_nullIf>
135
                            <null>0</null>
136
                            <type>float</type>
137
                            <value>$VerbatimLongitude</value>
138
                        </_nullIf>
139
                    </2>
140
                </_alt>
141
            </longitude>
142
            <namedplace_id>
143
                <_simplifyPath>
144
                    <next>parent_id/namedplace</next>
145
                    <require>placename</require>
146
                    <path>
147
                        <namedplace>
148
                            <rank>county</rank>
149
                            <placename>$County</placename>
150
                            <parent_id>
151
                                <namedplace>
152
                                    <rank>stateProvince</rank>
153
                                    <placename>$StateProvince</placename>
154
                                    <parent_id>
155
                                        <namedplace>
156
                                            <rank>country</rank>
157
                                            <placename>$Country</placename>
158
                                            <parent_id>
159
                                                <namedplace>
160
                                                    <rank>continent</rank>
161
                                                    <placename>$ContinentOcean</placename>
162
                                                </namedplace>
163
                                            </parent_id>
164
                                        </namedplace>
165
                                    </parent_id>
166
                                </namedplace>
167
                            </parent_id>
168
                        </namedplace>
169
                    </path>
170
                </_simplifyPath>
171
            </namedplace_id>
172
        </locationdetermination>
173
        <locationevent>
174
            <taxonoccurrence>
175
                <aggregateoccurrence>
176
                    <collectiondate>
177
                        <_date>
178
                            <date>
179
                                <_dateRangeStart>
180
                                    <value>
181
                                        <_alt>
182
                                            <0>$VerbatimCollectingDate</0>
183
                                            <1>
184
                                                <_date>
185
                                                    <day>
186
                                                        <_nullIf>
187
                                                            <null>0</null>
188
                                                            <type>float</type>
189
                                                            <value>$DayCollected</value>
190
                                                        </_nullIf>
191
                                                    </day>
192
                                                    <month>
193
                                                        <_nullIf>
194
                                                            <null>0</null>
195
                                                            <type>float</type>
196
                                                            <value>$MonthCollected</value>
197
                                                        </_nullIf>
198
                                                    </month>
199
                                                    <year>
200
                                                        <_nullIf>
201
                                                            <null>0</null>
202
                                                            <type>float</type>
203
                                                            <value>$YearCollected</value>
204
                                                        </_nullIf>
205
                                                    </year>
206
                                                </_date>
207
                                            </1>
208
                                        </_alt>
209
                                    </value>
210
                                </_dateRangeStart>
211
                            </date>
212
                        </_date>
213
                    </collectiondate>
214
                    <count>$IndividualCount</count>
215
                    <notes>$FieldNotes</notes>
216
                    <plantobservation>
217
                        <authorplantcode>
218
                            <_alt>
219
                                <1>$CollectorNumber</1>
220
                                <2>$FieldNumber</2>
221
                            </_alt>
222
                        </authorplantcode>
223
                        <definedvalue fkey="tablerecord_id">
224
                            <userdefined_id>
225
                                <userdefined>
226
                                    <tablename>plantobservation</tablename>
227
                                    <userdefinedname>sex</userdefinedname>
228
                                </userdefined>
229
                            </userdefined_id>
230
                            <definedvalue>$Sex</definedvalue>
231
                        </definedvalue>
232
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
233
                        <specimenreplicate>
234
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$CatalogNumberNumeric</catalognumber_dwc></else></_if>
235
                            <collectioncode_dwc><_alt><1>$CollectionCode</1></_alt></collectioncode_dwc>
236
                            <collectionnumber>
237
                                <_alt>
238
                                    <1>$CollectorNumber</1>
239
                                    <2>$FieldNumber</2>
240
                                </_alt>
241
                            </collectionnumber>
242
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
243
                            <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
244
                        </specimenreplicate>
245
                    </plantobservation>
246
                </aggregateoccurrence>
247
                <sourceaccessioncode>
248
                    <_alt>
249
                        <1>$GlobalUniqueIdentifier</1>
250
                        <2>
251
                            <_alt>
252
                                <1>$CollectorNumber</1>
253
                                <2>$FieldNumber</2>
254
                            </_alt>
255
                        </2>
256
                    </_alt>
257
                </sourceaccessioncode>
258
                <taxondetermination>
259
                    <isoriginal>true</isoriginal>
260
                    <role>identifier</role>
261
                    <party_id>
262
                        <party>
263
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
264
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
265
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
266
                        </party>
267
                    </party_id>
268
                    <plantconcept_id>
269
                        <plantconcept>
270
                            <plantname_id>
271
                                <_simplifyPath>
272
                                    <next>parent_id/plantname</next>
273
                                    <require>plantname</require>
274
                                    <path>
275
                                        <plantname>
276
                                            <rank>binomial</rank>
277
                                            <plantname>
278
                                                <_alt>
279
                                                    <1>$ScientificNameAuthor</1>
280
                                                    <2>$ScientificName</2>
281
                                                </_alt>
282
                                            </plantname>
283
                                            <parent_id>
284
                                                <plantname>
285
                                                    <rank>authority</rank>
286
                                                    <parent_id>
287
                                                        <plantname>
288
                                                            <rank>subspecies</rank>
289
                                                            <plantname>$Subspecies</plantname>
290
                                                            <parent_id>
291
                                                                <plantname>
292
                                                                    <rank>species</rank>
293
                                                                    <plantname>$Species</plantname>
294
                                                                    <parent_id>
295
                                                                        <plantname>
296
                                                                            <rank>genus</rank>
297
                                                                            <plantname>$Genus</plantname>
298
                                                                            <parent_id>
299
                                                                                <plantname>
300
                                                                                    <rank>family</rank>
301
                                                                                    <plantname>$Family</plantname>
302
                                                                                    <parent_id>
303
                                                                                        <plantname>
304
                                                                                            <rank>order</rank>
305
                                                                                            <plantname>$Order</plantname>
306
                                                                                            <parent_id>
307
                                                                                                <plantname>
308
                                                                                                    <rank>class</rank>
309
                                                                                                    <plantname>$Class</plantname>
310
                                                                                                    <parent_id>
311
                                                                                                        <plantname>
312
                                                                                                            <rank>subkingdom</rank>
313
                                                                                                            <plantname>$Phylum</plantname>
314
                                                                                                            <parent_id>
315
                                                                                                                <plantname>
316
                                                                                                                    <rank>kingdom</rank>
317
                                                                                                                    <plantname>$Kingdom</plantname>
318
                                                                                                                </plantname>
319
                                                                                                            </parent_id>
320
                                                                                                        </plantname>
321
                                                                                                    </parent_id>
322
                                                                                                </plantname>
323
                                                                                            </parent_id>
324
                                                                                        </plantname>
325
                                                                                    </parent_id>
326
                                                                                </plantname>
327
                                                                            </parent_id>
328
                                                                        </plantname>
329
                                                                    </parent_id>
330
                                                                </plantname>
331
                                                            </parent_id>
332
                                                        </plantname>
333
                                                    </parent_id>
334
                                                </plantname>
335
                                            </parent_id>
336
                                        </plantname>
337
                                    </path>
338
                                </_simplifyPath>
339
                            </plantname_id>
340
                        </plantconcept>
341
                    </plantconcept_id>
342
                    <determinationdate>
343
                        <_date>
344
                            <date>
345
                                <_dateRangeStart>
346
                                    <value>
347
                                        <_alt>
348
                                            <1>
349
                                                <_date>
350
                                                    <day>
351
                                                        <_nullIf>
352
                                                            <null>0</null>
353
                                                            <type>float</type>
354
                                                            <value>$DayIdentified</value>
355
                                                        </_nullIf>
356
                                                    </day>
357
                                                    <month>
358
                                                        <_nullIf>
359
                                                            <null>0</null>
360
                                                            <type>float</type>
361
                                                            <value>$MonthIdentified</value>
362
                                                        </_nullIf>
363
                                                    </month>
364
                                                    <year>
365
                                                        <_nullIf>
366
                                                            <null>0</null>
367
                                                            <type>float</type>
368
                                                            <value>$YearIdentified</value>
369
                                                        </_nullIf>
370
                                                    </year>
371
                                                </_date>
372
                                            </1>
373
                                        </_alt>
374
                                    </value>
375
                                </_dateRangeStart>
376
                            </date>
377
                        </_date>
378
                    </determinationdate>
379
                    <notes>$Remarks</notes>
380
                    <taxonfit>$IdentificationModifier</taxonfit>
381
                </taxondetermination>
382
                <verbatimcollectorname>$Collector</verbatimcollectorname>
383
            </taxonoccurrence>
384
            <waterdepth>
385
                <_avg>
386
                    <max>
387
                        <_units>
388
                            <default>m</default>
389
                            <to>m</to>
390
                            <to></to>
391
                            <value>
392
                                <_replace>
393
                                    <\bca\.?></\bca\.?>
394
                                    <value>$MaximumDepthInMeters</value>
395
                                </_replace>
396
                            </value>
397
                        </_units>
398
                    </max>
399
                    <min>
400
                        <_units>
401
                            <default>m</default>
402
                            <to>m</to>
403
                            <to></to>
404
                            <value>
405
                                <_replace>
406
                                    <\bca\.?></\bca\.?>
407
                                    <value>$MinimumDepthInMeters</value>
408
                                </_replace>
409
                            </value>
410
                        </_units>
411
                    </min>
412
                </_avg>
413
            </waterdepth>
414
        </locationevent>
415
        <locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative>
416
        <sourceaccessioncode><_alt><1>$GlobalUniqueIdentifier</1></_alt></sourceaccessioncode>
417
    </location>
418
</VegBIEN>
419
Inserted 38 new rows into database
    (1-1/1)