Project

General

Profile

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