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