Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4003 aaronmk
        <authorlocationcode>
5
            <_merge>
6
                <1>$institutionCode</1>
7
                <2>$collectionCode</2>
8
                <3>$catalogNumber</3>
9
            </_merge>
10
        </authorlocationcode>
11 3786 aaronmk
        <elevation>
12
            <_alt>
13 3996 aaronmk
                <1>
14
                    <_replace>
15
                        <\bca\.?></\bca\.?>
16
                        <value>$verbatimElevation</value>
17
                    </_replace>
18
                </1>
19 3786 aaronmk
                <2>
20
                    <_avg>
21
                        <max>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26 3984 aaronmk
                                <value>
27
                                    <_replace>
28
                                        <\bca\.?></\bca\.?>
29
                                        <value>$maximumElevationInMeters</value>
30
                                    </_replace>
31
                                </value>
32 3786 aaronmk
                            </_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 3780 aaronmk
                            <_alt>
81 3984 aaronmk
                                <1>
82
                                    <_replace>
83
                                        <\bca\.?></\bca\.?>
84
                                        <value>$maximumElevationInMeters</value>
85
                                    </_replace>
86
                                </1>
87 3780 aaronmk
                                <2>
88 3786 aaronmk
                                    <_rangeEnd>
89
                                        <value>
90
                                            <_replace>
91
                                                <\bca\.?></\bca\.?>
92
                                                <value>$minimumElevationInMeters</value>
93
                                            </_replace>
94
                                        </value>
95
                                    </_rangeEnd>
96 3780 aaronmk
                                </2>
97
                            </_alt>
98 3786 aaronmk
                        </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>$footprintWKT</footprintgeometry_dwc>
106
            <latitude>
107
                <_alt>
108
                    <1>
109
                        <_nullIf>
110
                            <null>0</null>
111
                            <type>float</type>
112 4013 aaronmk
                            <value>$decimalLatitude</value>
113 3786 aaronmk
                        </_nullIf>
114
                    </1>
115 4013 aaronmk
                    <2>
116
                        <_nullIf>
117
                            <null>0</null>
118
                            <type>float</type>
119
                            <value>$verbatimLatitude</value>
120
                        </_nullIf>
121
                    </2>
122 3786 aaronmk
                </_alt>
123
            </latitude>
124
            <longitude>
125
                <_alt>
126
                    <1>
127
                        <_nullIf>
128
                            <null>0</null>
129
                            <type>float</type>
130 4013 aaronmk
                            <value>$decimalLongitude</value>
131 3786 aaronmk
                        </_nullIf>
132
                    </1>
133 4013 aaronmk
                    <2>
134
                        <_nullIf>
135
                            <null>0</null>
136
                            <type>float</type>
137
                            <value>$verbatimLongitude</value>
138
                        </_nullIf>
139
                    </2>
140 3786 aaronmk
                </_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 3770 aaronmk
                                        <namedplace>
156 3786 aaronmk
                                            <rank>country</rank>
157
                                            <placename>$country</placename>
158 3770 aaronmk
                                            <parent_id>
159
                                                <namedplace>
160 3786 aaronmk
                                                    <rank>continent</rank>
161
                                                    <placename>$continent</placename>
162 3770 aaronmk
                                                </namedplace>
163
                                            </parent_id>
164
                                        </namedplace>
165 3786 aaronmk
                                    </parent_id>
166
                                </namedplace>
167
                            </parent_id>
168
                        </namedplace>
169
                    </path>
170
                </_simplifyPath>
171
            </namedplace_id>
172
        </locationdetermination>
173
        <locationevent>
174 3996 aaronmk
            <method_id><method><name>$samplingProtocol</name></method></method_id>
175 3907 aaronmk
            <taxonoccurrence>
176
                <aggregateoccurrence>
177 3919 aaronmk
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
178 3982 aaronmk
                    <count>$individualCount</count>
179 3907 aaronmk
                    <plantobservation>
180 3914 aaronmk
                        <definedvalue fkey="tablerecord_id">
181
                            <userdefined_id>
182
                                <userdefined>
183
                                    <tablename>plantobservation</tablename>
184
                                    <userdefinedname>sex</userdefinedname>
185
                                </userdefined>
186
                            </userdefined_id>
187
                            <definedvalue>$sex</definedvalue>
188
                        </definedvalue>
189 4006 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
190 3907 aaronmk
                        <specimenreplicate>
191 3946 aaronmk
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$catalogNumber</catalognumber_dwc></else></_if>
192 3962 aaronmk
                            <collectioncode_dwc>
193
                                <_alt>
194
                                    <1>$collectionCode</1>
195
                                    <2>$collectionID</2>
196
                                </_alt>
197
                            </collectioncode_dwc>
198 3907 aaronmk
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
199
                            <sourceaccessioncode>$id</sourceaccessioncode>
200
                        </specimenreplicate>
201
                    </plantobservation>
202
                </aggregateoccurrence>
203 4006 aaronmk
                <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
204 3786 aaronmk
                <taxondetermination>
205 3980 aaronmk
                    <isoriginal>true</isoriginal>
206 3786 aaronmk
                    <role>identifier</role>
207
                    <party_id>
208
                        <party>
209
                            <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
210
                            <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
211
                            <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
212
                        </party>
213
                    </party_id>
214
                    <plantconcept_id>
215
                        <plantconcept>
216
                            <plantname_id>
217
                                <_simplifyPath>
218
                                    <next>parent_id/plantname</next>
219
                                    <require>plantname</require>
220
                                    <path>
221 3641 aaronmk
                                        <plantname>
222 3786 aaronmk
                                            <rank>binomial</rank>
223
                                            <plantname>$scientificName</plantname>
224 3641 aaronmk
                                            <parent_id>
225
                                                <plantname>
226 3786 aaronmk
                                                    <rank>authority</rank>
227
                                                    <plantname>$scientificNameAuthorship</plantname>
228 3641 aaronmk
                                                    <parent_id>
229
                                                        <plantname>
230 3786 aaronmk
                                                            <rank>subspecies</rank>
231
                                                            <plantname>$infraspecificEpithet</plantname>
232 3641 aaronmk
                                                            <parent_id>
233
                                                                <plantname>
234 3786 aaronmk
                                                                    <rank>species</rank>
235
                                                                    <plantname>$specificEpithet</plantname>
236 3641 aaronmk
                                                                    <parent_id>
237
                                                                        <plantname>
238 3786 aaronmk
                                                                            <rank>genus</rank>
239
                                                                            <plantname>$genus</plantname>
240 3641 aaronmk
                                                                            <parent_id>
241
                                                                                <plantname>
242 3786 aaronmk
                                                                                    <rank>family</rank>
243
                                                                                    <plantname>$family</plantname>
244 3641 aaronmk
                                                                                    <parent_id>
245
                                                                                        <plantname>
246 3786 aaronmk
                                                                                            <rank>order</rank>
247
                                                                                            <plantname>$order</plantname>
248 3641 aaronmk
                                                                                            <parent_id>
249
                                                                                                <plantname>
250 3786 aaronmk
                                                                                                    <rank>class</rank>
251
                                                                                                    <plantname>$class</plantname>
252 3641 aaronmk
                                                                                                    <parent_id>
253
                                                                                                        <plantname>
254 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
255
                                                                                                            <plantname>$phylum</plantname>
256
                                                                                                            <parent_id>
257
                                                                                                                <plantname>
258
                                                                                                                    <rank>kingdom</rank>
259
                                                                                                                    <plantname>$kingdom</plantname>
260
                                                                                                                </plantname>
261
                                                                                                            </parent_id>
262 3641 aaronmk
                                                                                                        </plantname>
263
                                                                                                    </parent_id>
264
                                                                                                </plantname>
265
                                                                                            </parent_id>
266
                                                                                        </plantname>
267
                                                                                    </parent_id>
268
                                                                                </plantname>
269
                                                                            </parent_id>
270
                                                                        </plantname>
271
                                                                    </parent_id>
272
                                                                </plantname>
273
                                                            </parent_id>
274
                                                        </plantname>
275
                                                    </parent_id>
276
                                                </plantname>
277
                                            </parent_id>
278
                                        </plantname>
279 3786 aaronmk
                                    </path>
280
                                </_simplifyPath>
281
                            </plantname_id>
282
                        </plantconcept>
283
                    </plantconcept_id>
284 3980 aaronmk
                    <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
285
                    <taxonfit>$identificationQualifier</taxonfit>
286 3786 aaronmk
                </taxondetermination>
287 3934 aaronmk
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
288 3907 aaronmk
            </taxonoccurrence>
289 3786 aaronmk
        </locationevent>
290
        <locationnarrative>
291
            <_merge>
292
                <1>$locality</1>
293
                <3>
294
                    <_label>
295
                        <label>habitat</label>
296
                        <value>$habitat</value>
297
                    </_label>
298
                </3>
299
            </_merge>
300
        </locationnarrative>
301 4005 aaronmk
        <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
302 3786 aaronmk
    </location>
303 3641 aaronmk
</VegBIEN>
304 3907 aaronmk
Inserted 34 new rows into database