Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4
        <col>source_id</col>
5
        <value><source><shortname>SALVIAS-CSV</shortname></source></value>
6 4621 aaronmk
        <path>
7 6403 aaronmk
            <_simplifyPath>
8
                <next>parent_id</next>
9
                <path>
10 4621 aaronmk
                    <location>
11 6403 aaronmk
                        <parent_id>
12
                            <location>
13
                                <authorlocationcode>$plot_code</authorlocationcode>
14
                                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
15
                            </location>
16
                        </parent_id>
17
                        <authorlocationcode>$subplot</authorlocationcode>
18 5977 aaronmk
                        <locationevent>
19 6403 aaronmk
                            <parent_id>
20
                                <locationevent>
21
                                    <location_id>
22
                                        <location>
23
                                            <authorlocationcode>
24
                                                <_if name="if subplot">
25
                                                    <cond>$subplot</cond>
26
                                                    <then>$plot_code</then>
27
                                                </_if>
28
                                            </authorlocationcode>
29
                                            <sourceaccessioncode>
30
                                                <_if name="if subplot">
31
                                                    <cond>$subplot</cond>
32
                                                    <then>$PLOT_ID</then>
33
                                                </_if>
34
                                            </sourceaccessioncode>
35
                                        </location>
36
                                    </location_id>
37
                                    <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
38
                                    <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
39
                                </locationevent>
40
                            </parent_id>
41 6217 aaronmk
                            <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
42
                            <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
43 6403 aaronmk
                            <taxonoccurrence>
44
                                <aggregateoccurrence>
45
                                    <count>$no_of_individuals</count>
46
                                    <cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
47 4621 aaronmk
                                    <definedvalue fkey="tablerecord_id">
48
                                        <userdefined_id>
49
                                            <userdefined>
50 6403 aaronmk
                                                <tablename>aggregateoccurrence</tablename>
51
                                                <userdefinedname>censusNo</userdefinedname>
52 4621 aaronmk
                                            </userdefined>
53
                                        </userdefined_id>
54 6403 aaronmk
                                        <definedvalue>$census_no</definedvalue>
55 4621 aaronmk
                                    </definedvalue>
56 6403 aaronmk
                                    <linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
57
                                    <plantobservation>
58
                                        <collectionnumber>$individual_code</collectionnumber>
59
                                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
60
                                        <specimenreplicate>
61
                                            <catalognumber_dwc>
62
                                                <_if name="if indirect voucher">
63
                                                    <cond>
64
                                                        <_eq>
65
                                                            <right>indirect</right>
66
                                                            <left>$det_type</left>
67
                                                        </_eq>
68
                                                    </cond>
69
                                                    <else>
70
                                                        <_alt>
71
                                                            <1>$coll_number</1>
72
                                                            <2>$voucher_string</2>
73
                                                        </_alt>
74
                                                    </else>
75
                                                </_if>
76
                                            </catalognumber_dwc>
77
                                        </specimenreplicate>
78
                                        <stemobservation>
79
                                            <basaldiameter_m>$basal_diam</basaldiameter_m>
80
                                            <definedvalue fkey="tablerecord_id">
81
                                                <userdefined_id>
82
                                                    <userdefined>
83
                                                        <tablename>stemobservation</tablename>
84
                                                        <userdefinedname>canopyForm</userdefinedname>
85
                                                    </userdefined>
86
                                                </userdefined_id>
87
                                                <definedvalue>$stem_canopy_form</definedvalue>
88
                                            </definedvalue>
89
                                            <definedvalue fkey="tablerecord_id">
90
                                                <userdefined_id>
91
                                                    <userdefined>
92
                                                        <tablename>stemobservation</tablename>
93
                                                        <userdefinedname>canopyPosition</userdefinedname>
94
                                                    </userdefined>
95
                                                </userdefined_id>
96
                                                <definedvalue>$stem_canopy_position</definedvalue>
97
                                            </definedvalue>
98
                                            <definedvalue fkey="tablerecord_id">
99
                                                <userdefined_id>
100
                                                    <userdefined>
101
                                                        <tablename>stemobservation</tablename>
102
                                                        <userdefinedname>lianaInfestation</userdefinedname>
103
                                                    </userdefined>
104
                                                </userdefined_id>
105
                                                <definedvalue>$stem_liana_infestation</definedvalue>
106
                                            </definedvalue>
107
                                            <definedvalue fkey="tablerecord_id">
108
                                                <userdefined_id>
109
                                                    <userdefined>
110
                                                        <tablename>stemobservation</tablename>
111
                                                        <userdefinedname>notes</userdefinedname>
112
                                                    </userdefined>
113
                                                </userdefined_id>
114
                                                <definedvalue>$notes</definedvalue>
115
                                            </definedvalue>
116
                                            <diameterbreastheight_m><_cm_to_m><value>$stem_dbh</value></_cm_to_m></diameterbreastheight_m>
117
                                            <height_m>
118 4828 aaronmk
                                                <_alt>
119 6403 aaronmk
                                                    <1>$stem_height_m</1>
120
                                                    <2>$height_m</2>
121 4828 aaronmk
                                                </_alt>
122 6403 aaronmk
                                            </height_m>
123
                                            <heightfirstbranch_m>
124 4828 aaronmk
                                                <_alt>
125 6403 aaronmk
                                                    <0>$ht_first_branch_m</0>
126
                                                    <1>$stem_height_first_branch_m</1>
127 4828 aaronmk
                                                </_alt>
128 6403 aaronmk
                                            </heightfirstbranch_m>
129
                                            <tag>
130
                                                <_alt>
131
                                                    <1>
132
                                                        <_alt>
133
                                                            <1>$stem_tag2</1>
134
                                                            <2>$stem_tag1</2>
135
                                                        </_alt>
136
                                                    </1>
137
                                                    <2>
138
                                                        <_alt>
139
                                                            <1>$tag2</1>
140
                                                            <2>$tag1</2>
141
                                                        </_alt>
142
                                                    </2>
143
                                                </_alt>
144
                                            </tag>
145
                                            <xposition_m>$x_position</xposition_m>
146
                                            <yposition_m>$y_position</yposition_m>
147
                                        </stemobservation>
148
                                    </plantobservation>
149
                                </aggregateoccurrence>
150
                                <authortaxoncode>$individual_code</authortaxoncode>
151
                                <collector_id>
152
                                    <party>
153
                                        <fullname>
154
                                            <_join_words>
155
                                                <1>$coll_firstname</1>
156
                                                <2>$coll_lastname</2>
157
                                            </_join_words>
158
                                        </fullname>
159
                                    </party>
160
                                </collector_id>
161
                                <growthform>
162
                                    <_map>
163
                                        <T>tree</T>
164
                                        <Arbol>tree</Arbol>
165
                                        <palm>tree</palm>
166
                                        <H>hemiepiphyte</H>
167
                                        <Hemiepífito>hemiepiphyte</Hemiepífito>
168
                                        <L>liana</L>
169
                                        <l>liana</l>
170
                                        <L?>liana</L?>
171
                                        <Liana>liana</Liana>
172
                                        <E>epiphyte</E>
173
                                        <S>shrub</S>
174
                                        <Hb>herb</Hb>
175
                                        <vine-herbaceous>vine</vine-herbaceous>
176
                                        <graminoid>grass</graminoid>
177
                                        <rosette>forb</rosette>
178
                                        <*>*</*>
179
                                        <value>$habit</value>
180
                                    </_map>
181
                                </growthform>
182
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
183
                                <taxondetermination>
184
                                    <taxonverbatim_id>
185
                                        <taxonverbatim>
186
                                            <taxonlabel_id>
187 5657 aaronmk
                                                <taxonlabel>
188 6403 aaronmk
                                                    <matched_label_id>
189
                                                        <taxonlabel>
190
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
191
                                                            <taxonomicname>
192 5138 aaronmk
                                                                <_join_words>
193 6403 aaronmk
                                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
194
                                                                    <2>
195 5657 aaronmk
                                                                        <_join_words>
196 6403 aaronmk
                                                                            <1>
197 5788 aaronmk
                                                                                <_join_words>
198 6403 aaronmk
                                                                                    <2>$genus</2>
199
                                                                                    <3>$specific_epithet</3>
200
                                                                                    <5>
201
                                                                                        <_join_words>
202
                                                                                            <1>
203
                                                                                                <_if name="if has infraspecificEpithet">
204
                                                                                                    <cond>$infra_ep_1</cond>
205
                                                                                                    <then>$infra_rank_1</then>
206
                                                                                                </_if>
207
                                                                                            </1>
208
                                                                                            <2>$infra_ep_1</2>
209
                                                                                        </_join_words>
210
                                                                                    </5>
211 5788 aaronmk
                                                                                </_join_words>
212 6403 aaronmk
                                                                            </1>
213
                                                                            <2>$specific_authority</2>
214 5657 aaronmk
                                                                        </_join_words>
215 6403 aaronmk
                                                                    </2>
216 5138 aaronmk
                                                                </_join_words>
217 6403 aaronmk
                                                            </taxonomicname>
218
                                                        </taxonlabel>
219
                                                    </matched_label_id>
220 5294 aaronmk
                                                    <parent_id>
221 5608 aaronmk
                                                        <taxonlabel>
222 6403 aaronmk
                                                            <rank>$infra_rank_1</rank>
223
                                                            <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
224 5294 aaronmk
                                                            <parent_id>
225 5608 aaronmk
                                                                <taxonlabel>
226 6403 aaronmk
                                                                    <rank>cultivar</rank>
227 5294 aaronmk
                                                                    <parent_id>
228 5608 aaronmk
                                                                        <taxonlabel>
229 6403 aaronmk
                                                                            <rank>forma</rank>
230 5294 aaronmk
                                                                            <parent_id>
231 5608 aaronmk
                                                                                <taxonlabel>
232 6403 aaronmk
                                                                                    <rank>variety</rank>
233 5294 aaronmk
                                                                                    <parent_id>
234 5608 aaronmk
                                                                                        <taxonlabel>
235 6403 aaronmk
                                                                                            <rank>subspecies</rank>
236 5306 aaronmk
                                                                                            <parent_id>
237 5608 aaronmk
                                                                                                <taxonlabel>
238 6403 aaronmk
                                                                                                    <rank>species</rank>
239
                                                                                                    <taxonepithet>$specific_epithet</taxonepithet>
240 5657 aaronmk
                                                                                                    <parent_id>
241
                                                                                                        <taxonlabel>
242 6403 aaronmk
                                                                                                            <rank>genus</rank>
243
                                                                                                            <taxonepithet>$genus</taxonepithet>
244
                                                                                                            <parent_id>
245
                                                                                                                <taxonlabel>
246
                                                                                                                    <rank>family</rank>
247
                                                                                                                    <taxonepithet>$family</taxonepithet>
248
                                                                                                                </taxonlabel>
249
                                                                                                            </parent_id>
250 5657 aaronmk
                                                                                                        </taxonlabel>
251
                                                                                                    </parent_id>
252 5608 aaronmk
                                                                                                </taxonlabel>
253 5306 aaronmk
                                                                                            </parent_id>
254 5608 aaronmk
                                                                                        </taxonlabel>
255 5294 aaronmk
                                                                                    </parent_id>
256 5608 aaronmk
                                                                                </taxonlabel>
257 5294 aaronmk
                                                                            </parent_id>
258 5608 aaronmk
                                                                        </taxonlabel>
259 5294 aaronmk
                                                                    </parent_id>
260 5608 aaronmk
                                                                </taxonlabel>
261 5294 aaronmk
                                                            </parent_id>
262 6403 aaronmk
                                                            <taxonepithet>$infra_ep_1</taxonepithet>
263 5608 aaronmk
                                                        </taxonlabel>
264 5294 aaronmk
                                                    </parent_id>
265 6403 aaronmk
                                                    <rank>$infra_rank_1</rank>
266
                                                    <taxonomicname>
267 5656 aaronmk
                                                        <_join_words>
268 6403 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
269
                                                            <2>
270 5657 aaronmk
                                                                <_join_words>
271 6403 aaronmk
                                                                    <1>
272 5788 aaronmk
                                                                        <_join_words>
273 6403 aaronmk
                                                                            <2>$genus</2>
274
                                                                            <3>$specific_epithet</3>
275
                                                                            <5>
276
                                                                                <_join_words>
277
                                                                                    <1>
278
                                                                                        <_if name="if has infraspecificEpithet">
279
                                                                                            <cond>$infra_ep_1</cond>
280
                                                                                            <then>$infra_rank_1</then>
281
                                                                                        </_if>
282
                                                                                    </1>
283
                                                                                    <2>$infra_ep_1</2>
284
                                                                                </_join_words>
285
                                                                            </5>
286 5788 aaronmk
                                                                        </_join_words>
287 6403 aaronmk
                                                                    </1>
288
                                                                    <2>$specific_authority</2>
289 5657 aaronmk
                                                                </_join_words>
290 6403 aaronmk
                                                            </2>
291 5656 aaronmk
                                                        </_join_words>
292 5657 aaronmk
                                                    </taxonomicname>
293
                                                </taxonlabel>
294 6403 aaronmk
                                            </taxonlabel_id>
295
                                            <author>$specific_authority</author>
296
                                            <family>$family</family>
297
                                            <genus>$genus</genus>
298
                                            <specific_epithet>$specific_epithet</specific_epithet>
299
                                            <verbatimrank>$infra_rank_1</verbatimrank>
300
                                        </taxonverbatim>
301
                                    </taxonverbatim_id>
302
                                    <taxonfit>$cf_aff</taxonfit>
303
                                </taxondetermination>
304
                                <taxondetermination>
305
                                    <isoriginal>true</isoriginal>
306
                                    <taxonverbatim_id>
307
                                        <taxonverbatim>
308
                                            <taxonlabel_id>
309 5608 aaronmk
                                                <taxonlabel>
310 6403 aaronmk
                                                    <matched_label_id>
311
                                                        <taxonlabel>
312
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
313
                                                            <taxonomicname>
314
                                                                <_join_words>
315
                                                                    <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
316
                                                                    <2>$orig_species</2>
317
                                                                </_join_words>
318
                                                            </taxonomicname>
319
                                                        </taxonlabel>
320
                                                    </matched_label_id>
321 5295 aaronmk
                                                    <parent_id>
322 5608 aaronmk
                                                        <taxonlabel>
323 5295 aaronmk
                                                            <parent_id>
324 5608 aaronmk
                                                                <taxonlabel>
325 6403 aaronmk
                                                                    <rank>cultivar</rank>
326 5295 aaronmk
                                                                    <parent_id>
327 5608 aaronmk
                                                                        <taxonlabel>
328 6403 aaronmk
                                                                            <rank>forma</rank>
329 5295 aaronmk
                                                                            <parent_id>
330 5608 aaronmk
                                                                                <taxonlabel>
331 6403 aaronmk
                                                                                    <rank>variety</rank>
332 5295 aaronmk
                                                                                    <parent_id>
333 5608 aaronmk
                                                                                        <taxonlabel>
334 6403 aaronmk
                                                                                            <rank>subspecies</rank>
335 5306 aaronmk
                                                                                            <parent_id>
336 5608 aaronmk
                                                                                                <taxonlabel>
337 6403 aaronmk
                                                                                                    <rank>species</rank>
338
                                                                                                    <taxonepithet>$orig_species</taxonepithet>
339 5657 aaronmk
                                                                                                    <parent_id>
340
                                                                                                        <taxonlabel>
341 6403 aaronmk
                                                                                                            <rank>genus</rank>
342
                                                                                                            <parent_id>
343
                                                                                                                <taxonlabel>
344
                                                                                                                    <rank>family</rank>
345
                                                                                                                    <taxonepithet>$orig_family</taxonepithet>
346
                                                                                                                </taxonlabel>
347
                                                                                                            </parent_id>
348 5657 aaronmk
                                                                                                        </taxonlabel>
349
                                                                                                    </parent_id>
350 5608 aaronmk
                                                                                                </taxonlabel>
351 5306 aaronmk
                                                                                            </parent_id>
352 5608 aaronmk
                                                                                        </taxonlabel>
353 5295 aaronmk
                                                                                    </parent_id>
354 5608 aaronmk
                                                                                </taxonlabel>
355 5295 aaronmk
                                                                            </parent_id>
356 5608 aaronmk
                                                                        </taxonlabel>
357 5295 aaronmk
                                                                    </parent_id>
358 5608 aaronmk
                                                                </taxonlabel>
359 5295 aaronmk
                                                            </parent_id>
360 5608 aaronmk
                                                        </taxonlabel>
361 5295 aaronmk
                                                    </parent_id>
362 6403 aaronmk
                                                    <taxonomicname>
363
                                                        <_join_words>
364
                                                            <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
365
                                                            <2>$orig_species</2>
366
                                                        </_join_words>
367
                                                    </taxonomicname>
368 5608 aaronmk
                                                </taxonlabel>
369 6403 aaronmk
                                            </taxonlabel_id>
370
                                            <family>$orig_family</family>
371
                                            <specific_epithet>$orig_species</specific_epithet>
372
                                        </taxonverbatim>
373
                                    </taxonverbatim_id>
374
                                </taxondetermination>
375
                                <voucher>
376
                                    <specimenreplicate_id>
377
                                        <specimenreplicate>
378
                                            <catalognumber_dwc>
379
                                                <_if name="if indirect voucher">
380
                                                    <cond>
381
                                                        <_eq>
382
                                                            <right>indirect</right>
383
                                                            <left>$det_type</left>
384
                                                        </_eq>
385
                                                    </cond>
386
                                                    <then>
387
                                                        <_alt>
388
                                                            <1>$coll_number</1>
389
                                                            <2>$voucher_string</2>
390
                                                        </_alt>
391
                                                    </then>
392
                                                </_if>
393
                                            </catalognumber_dwc>
394
                                        </specimenreplicate>
395
                                    </specimenreplicate_id>
396
                                </voucher>
397
                            </taxonoccurrence>
398
                        </locationevent>
399
                        <sourceaccessioncode>
400
                            <_join>
401
                                <1>$PLOT_ID</1>
402
                                <2>$subplot</2>
403
                            </_join>
404
                        </sourceaccessioncode>
405
                    </location>
406
                </path>
407
            </_simplifyPath>
408 4621 aaronmk
        </path>
409 6403 aaronmk
    </_setDefault>
410 3641 aaronmk
</VegBIEN>
411 6171 aaronmk
Inserted 54 new rows into database