Project

General

Profile

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