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
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
148
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
149
            <specimenreplicate>
150
                <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
151
                <collectioncode_dwc>$collectionCode</collectioncode_dwc>
152
                <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
153
                <definedvalue fkey="tablerecord_id">
154
                    <userdefined_id>
155
                        <userdefined>
156
                            <tablename>specimenreplicate</tablename>
157
                            <userdefinedname>sex</userdefinedname>
158
                        </userdefined>
159
                    </userdefined_id>
160
                    <definedvalue>$sex</definedvalue>
161
                </definedvalue>
162
                <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
163
                <sourceaccessioncode>$id</sourceaccessioncode>
164
                <taxondetermination>
165
                    <role>identifier</role>
166
                    <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
167
                    <iscurrent>true</iscurrent>
168
                    <party_id>
169
                        <party>
170
                            <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
171
                            <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
172
                            <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
173
                        </party>
174
                    </party_id>
175
                    <isoriginal>true</isoriginal>
176
                    <plantconcept_id>
177
                        <plantconcept>
178
                            <plantname_id>
179
                                <_simplifyPath>
180
                                    <next>parent_id/plantname</next>
181
                                    <require>plantname</require>
182
                                    <path>
183
                                        <plantname>
184
                                            <rank>binomial</rank>
185
                                            <plantname>$scientificName</plantname>
186
                                            <parent_id>
187
                                                <plantname>
188
                                                    <rank>authority</rank>
189
                                                    <plantname>$scientificNameAuthorship</plantname>
190
                                                    <parent_id>
191
                                                        <plantname>
192
                                                            <rank>subspecies</rank>
193
                                                            <plantname>$infraspecificEpithet</plantname>
194
                                                            <parent_id>
195
                                                                <plantname>
196
                                                                    <rank>species</rank>
197
                                                                    <plantname>$specificEpithet</plantname>
198
                                                                    <parent_id>
199
                                                                        <plantname>
200
                                                                            <rank>genus</rank>
201
                                                                            <plantname>$genus</plantname>
202
                                                                            <parent_id>
203
                                                                                <plantname>
204
                                                                                    <rank>family</rank>
205
                                                                                    <plantname>$family</plantname>
206
                                                                                    <parent_id>
207
                                                                                        <plantname>
208
                                                                                            <rank>order</rank>
209
                                                                                            <plantname>$order</plantname>
210
                                                                                            <parent_id>
211
                                                                                                <plantname>
212
                                                                                                    <rank>class</rank>
213
                                                                                                    <plantname>$class</plantname>
214
                                                                                                    <parent_id>
215
                                                                                                        <plantname>
216
                                                                                                            <rank>subkingdom</rank>
217
                                                                                                            <plantname>$phylum</plantname>
218
                                                                                                            <parent_id>
219
                                                                                                                <plantname>
220
                                                                                                                    <rank>kingdom</rank>
221
                                                                                                                    <plantname>$kingdom</plantname>
222
                                                                                                                </plantname>
223
                                                                                                            </parent_id>
224
                                                                                                        </plantname>
225
                                                                                                    </parent_id>
226
                                                                                                </plantname>
227
                                                                                            </parent_id>
228
                                                                                        </plantname>
229
                                                                                    </parent_id>
230
                                                                                </plantname>
231
                                                                            </parent_id>
232
                                                                        </plantname>
233
                                                                    </parent_id>
234
                                                                </plantname>
235
                                                            </parent_id>
236
                                                        </plantname>
237
                                                    </parent_id>
238
                                                </plantname>
239
                                            </parent_id>
240
                                        </plantname>
241
                                    </path>
242
                                </_simplifyPath>
243
                            </plantname_id>
244
                        </plantconcept>
245
                    </plantconcept_id>
246
                </taxondetermination>
247
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
248
            </specimenreplicate>
249
        </locationevent>
250
        <locationnarrative>
251
            <_merge>
252
                <1>$locality</1>
253
                <3>
254
                    <_label>
255
                        <label>habitat</label>
256
                        <value>$habitat</value>
257
                    </_label>
258
                </3>
259
            </_merge>
260
        </locationnarrative>
261
        <sourceaccessioncode>
262
            <_alt>
263
                <1>$id</1>
264
                <2>
265
                    <_merge>
266
                        <1>$institutionCode</1>
267
                        <2>$collectionCode</2>
268
                        <3>$catalogNumber</3>
269
                    </_merge>
270
                </2>
271
            </_alt>
272
        </sourceaccessioncode>
273
    </location>
274
</VegBIEN>
275
Inserted 28 new rows into database
    (1-1/1)