Project

General

Profile

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