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 4718 aaronmk
                            <taxonpath_id>
149
                                <taxonpath>
150 4944 aaronmk
                                    <author>$specific_authority</author>
151 4703 aaronmk
                                    <family>$family</family>
152
                                    <genus>$genus</genus>
153
                                    <species>$specific_epithet</species>
154
                                    <subspecies>
155 5014 aaronmk
                                        <_join_words>
156
                                            <1>$infra_rank_1</1>
157
                                            <2>$infra_ep_1</2>
158
                                        </_join_words>
159 4703 aaronmk
                                    </subspecies>
160 5012 aaronmk
                                    <taxonomicnamewithauthor>
161
                                        <_join_words>
162
                                            <1>
163
                                                <_join_words>
164
                                                    <1>$family</1>
165
                                                    <2>$genus</2>
166
                                                    <3>$specific_epithet</3>
167
                                                    <5>
168
                                                        <_join_words>
169
                                                            <1>$infra_rank_1</1>
170
                                                            <2>$infra_ep_1</2>
171
                                                        </_join_words>
172
                                                    </5>
173
                                                </_join_words>
174
                                            </1>
175
                                            <2>$specific_authority</2>
176
                                        </_join_words>
177
                                    </taxonomicnamewithauthor>
178 4718 aaronmk
                                </taxonpath>
179
                            </taxonpath_id>
180 4621 aaronmk
                            <taxonfit>$cf_aff</taxonfit>
181
                        </taxondetermination>
182
                        <taxondetermination>
183
                            <isoriginal>true</isoriginal>
184 4718 aaronmk
                            <taxonpath_id>
185
                                <taxonpath>
186 4703 aaronmk
                                    <family>$orig_family</family>
187
                                    <species>$orig_species</species>
188 5044 aaronmk
                                    <taxonomicnamewithauthor>
189
                                        <_join_words>
190
                                            <1>$orig_family</1>
191
                                            <3>$orig_species</3>
192
                                        </_join_words>
193
                                    </taxonomicnamewithauthor>
194 4718 aaronmk
                                </taxonpath>
195
                            </taxonpath_id>
196 4621 aaronmk
                        </taxondetermination>
197
                        <verbatimcollectorname>
198 5014 aaronmk
                            <_join_words>
199
                                <1>$coll_firstname</1>
200
                                <2>$coll_lastname</2>
201
                            </_join_words>
202 4621 aaronmk
                        </verbatimcollectorname>
203
                        <voucher>
204
                            <specimenreplicate_id>
205
                                <specimenreplicate>
206
                                    <catalognumber_dwc>
207
                                        <_if name="if indirect voucher">
208
                                            <cond>
209
                                                <_eq>
210
                                                    <right>indirect</right>
211
                                                    <left>$det_type</left>
212
                                                </_eq>
213
                                            </cond>
214
                                            <then>
215
                                                <_alt>
216
                                                    <1>$coll_number</1>
217
                                                    <2>$voucher_string</2>
218
                                                </_alt>
219
                                            </then>
220
                                        </_if>
221
                                    </catalognumber_dwc>
222
                                </specimenreplicate>
223
                            </specimenreplicate_id>
224
                        </voucher>
225
                    </taxonoccurrence>
226
                </locationevent>
227
            </location>
228
        </path>
229
    </_simplifyPath>
230 3641 aaronmk
</VegBIEN>
231 5076 aaronmk
Inserted 37 new rows into database