Project

General

Profile

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