Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3795 aaronmk
    <location id="-1">
4 4060 aaronmk
        <authorlocationcode>
5
            <_alt>
6
                <1>$subplot</1>
7 4066 aaronmk
                <4>
8 4060 aaronmk
                    <_if name="if indirect voucher">
9 4064 aaronmk
                        <cond>
10
                            <_eq>
11
                                <right>indirect</right>
12
                                <left>$det_type</left>
13
                            </_eq>
14
                        </cond>
15 4060 aaronmk
                        <else>
16
                            <_alt>
17
                                <1>$coll_number</1>
18
                                <2>$voucher_string</2>
19
                            </_alt>
20
                        </else>
21
                    </_if>
22 4066 aaronmk
                </4>
23 4060 aaronmk
            </_alt>
24
        </authorlocationcode>
25 3795 aaronmk
        <locationevent>
26 4015 aaronmk
            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
27 3795 aaronmk
            <taxonoccurrence>
28
                <aggregateoccurrence>
29
                    <count>$no_of_individuals</count>
30
                    <cover>$cover_percent</cover>
31
                    <definedvalue fkey="tablerecord_id">
32
                        <userdefined_id>
33
                            <userdefined>
34
                                <tablename>aggregateoccurrence</tablename>
35
                                <userdefinedname>censusNo</userdefinedname>
36
                            </userdefined>
37
                        </userdefined_id>
38
                        <definedvalue>$census_no</definedvalue>
39
                    </definedvalue>
40
                    <linecover>$intercept_cm</linecover>
41
                    <plantobservation>
42 4076 aaronmk
                        <collectionnumber>$individual_code</collectionnumber>
43 3795 aaronmk
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
44 3942 aaronmk
                        <specimenreplicate>
45 4045 aaronmk
                            <catalognumber_dwc>
46
                                <_if name="if indirect voucher">
47
                                    <cond>
48
                                        <_eq>
49
                                            <right>indirect</right>
50
                                            <left>$det_type</left>
51
                                        </_eq>
52
                                    </cond>
53
                                    <else>
54 3942 aaronmk
                                        <_alt>
55
                                            <1>$coll_number</1>
56
                                            <2>$voucher_string</2>
57
                                        </_alt>
58 4045 aaronmk
                                    </else>
59
                                </_if>
60
                            </catalognumber_dwc>
61 3942 aaronmk
                        </specimenreplicate>
62 3795 aaronmk
                        <stemobservation>
63 3829 aaronmk
                            <basaldiameter>$basal_diam</basaldiameter>
64
                            <definedvalue fkey="tablerecord_id">
65
                                <userdefined_id>
66
                                    <userdefined>
67
                                        <tablename>stemobservation</tablename>
68
                                        <userdefinedname>canopyForm</userdefinedname>
69
                                    </userdefined>
70
                                </userdefined_id>
71
                                <definedvalue>$stem_canopy_form</definedvalue>
72
                            </definedvalue>
73
                            <definedvalue fkey="tablerecord_id">
74
                                <userdefined_id>
75
                                    <userdefined>
76
                                        <tablename>stemobservation</tablename>
77
                                        <userdefinedname>canopyPosition</userdefinedname>
78
                                    </userdefined>
79
                                </userdefined_id>
80
                                <definedvalue>$stem_canopy_position</definedvalue>
81
                            </definedvalue>
82
                            <definedvalue fkey="tablerecord_id">
83
                                <userdefined_id>
84
                                    <userdefined>
85
                                        <tablename>stemobservation</tablename>
86
                                        <userdefinedname>lianaInfestation</userdefinedname>
87
                                    </userdefined>
88
                                </userdefined_id>
89
                                <definedvalue>$stem_liana_infestation</definedvalue>
90
                            </definedvalue>
91
                            <definedvalue fkey="tablerecord_id">
92
                                <userdefined_id>
93
                                    <userdefined>
94
                                        <tablename>stemobservation</tablename>
95
                                        <userdefinedname>notes</userdefinedname>
96
                                    </userdefined>
97
                                </userdefined_id>
98
                                <definedvalue>$notes</definedvalue>
99
                            </definedvalue>
100
                            <diameterbreastheight>$stem_dbh</diameterbreastheight>
101 3925 aaronmk
                            <height>
102 4068 aaronmk
                                <_alt>
103 3925 aaronmk
                                    <1>$stem_height_m</1>
104 4069 aaronmk
                                    <2>$height_m</2>
105 4068 aaronmk
                                </_alt>
106 3925 aaronmk
                            </height>
107 3829 aaronmk
                            <heightfirstbranch>
108 4068 aaronmk
                                <_alt>
109 3829 aaronmk
                                    <0>$ht_first_branch_m</0>
110
                                    <1>$stem_height_first_branch_m</1>
111 4068 aaronmk
                                </_alt>
112 3829 aaronmk
                            </heightfirstbranch>
113 3795 aaronmk
                            <stemtag>
114
                                <iscurrent>
115
                                    <_alt>
116
                                        <2>true</2>
117
                                        <1>false</1>
118
                                    </_alt>
119
                                </iscurrent>
120
                                <tag>
121
                                    <_alt>
122
                                        <1>$tag1</1>
123
                                        <2>$stem_tag1</2>
124
                                    </_alt>
125
                                </tag>
126
                            </stemtag>
127
                            <stemtag>
128
                                <iscurrent>true</iscurrent>
129
                                <tag>
130
                                    <_alt>
131
                                        <1>$tag2</1>
132
                                        <2>$stem_tag2</2>
133
                                    </_alt>
134
                                </tag>
135
                            </stemtag>
136
                            <xposition>$x_position</xposition>
137
                            <yposition>$y_position</yposition>
138
                        </stemobservation>
139
                    </plantobservation>
140
                </aggregateoccurrence>
141 4195 aaronmk
                <authortaxoncode>$individual_code</authortaxoncode>
142 3795 aaronmk
                <growthform>
143
                    <_map>
144
                        <T>tree</T>
145
                        <Arbol>tree</Arbol>
146
                        <palm>tree</palm>
147
                        <H>hemiepiphyte</H>
148
                        <Hemiepífito>hemiepiphyte</Hemiepífito>
149
                        <L>liana</L>
150
                        <l>liana</l>
151
                        <L?>liana</L?>
152
                        <Liana>liana</Liana>
153
                        <E>epiphyte</E>
154
                        <S>shrub</S>
155
                        <Hb>herb</Hb>
156
                        <vine-herbaceous>vine</vine-herbaceous>
157
                        <graminoid>grass</graminoid>
158
                        <rosette>forb</rosette>
159 4176 aaronmk
                        <*>*</*>
160 3795 aaronmk
                        <value>$habit</value>
161
                    </_map>
162
                </growthform>
163 4072 aaronmk
                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
164 3795 aaronmk
                <taxondetermination>
165
                    <plantconcept_id>
166
                        <plantconcept>
167
                            <plantname_id>
168
                                <_simplifyPath>
169 4226 aaronmk
                                    <next>parent_id</next>
170 3795 aaronmk
                                    <path>
171
                                        <plantname>
172
                                            <rank>binomial</rank>
173
                                            <parent_id>
174 3722 aaronmk
                                                <plantname>
175 3795 aaronmk
                                                    <rank>authority</rank>
176 4205 aaronmk
                                                    <plantname>$specific_authority</plantname>
177 3722 aaronmk
                                                    <parent_id>
178
                                                        <plantname>
179 3795 aaronmk
                                                            <rank>subspecies</rank>
180 4205 aaronmk
                                                            <plantname>
181
                                                                <_name>
182
                                                                    <first>$infra_rank_1</first>
183
                                                                    <last>$infra_ep_1</last>
184
                                                                </_name>
185
                                                            </plantname>
186 3722 aaronmk
                                                            <parent_id>
187 3641 aaronmk
                                                                <plantname>
188 3795 aaronmk
                                                                    <rank>species</rank>
189 4205 aaronmk
                                                                    <plantname>$specific_epithet</plantname>
190 3722 aaronmk
                                                                    <parent_id>
191
                                                                        <plantname>
192 3795 aaronmk
                                                                            <rank>genus</rank>
193 4205 aaronmk
                                                                            <plantname>$genus</plantname>
194 3722 aaronmk
                                                                            <parent_id>
195
                                                                                <plantname>
196 3795 aaronmk
                                                                                    <rank>family</rank>
197 4205 aaronmk
                                                                                    <plantname>$family</plantname>
198 3722 aaronmk
                                                                                </plantname>
199
                                                                            </parent_id>
200
                                                                        </plantname>
201
                                                                    </parent_id>
202
                                                                </plantname>
203
                                                            </parent_id>
204
                                                        </plantname>
205
                                                    </parent_id>
206
                                                </plantname>
207 3795 aaronmk
                                            </parent_id>
208
                                        </plantname>
209
                                    </path>
210
                                </_simplifyPath>
211
                            </plantname_id>
212
                        </plantconcept>
213
                    </plantconcept_id>
214 4205 aaronmk
                    <taxonfit>$cf_aff</taxonfit>
215 3795 aaronmk
                </taxondetermination>
216
                <taxondetermination>
217 4205 aaronmk
                    <isoriginal>true</isoriginal>
218 3795 aaronmk
                    <plantconcept_id>
219
                        <plantconcept>
220
                            <plantname_id>
221
                                <_simplifyPath>
222 4226 aaronmk
                                    <next>parent_id</next>
223 3795 aaronmk
                                    <path>
224
                                        <plantname>
225
                                            <rank>binomial</rank>
226
                                            <parent_id>
227 3641 aaronmk
                                                <plantname>
228 3795 aaronmk
                                                    <rank>authority</rank>
229 3722 aaronmk
                                                    <parent_id>
230
                                                        <plantname>
231 3795 aaronmk
                                                            <rank>subspecies</rank>
232 3722 aaronmk
                                                            <parent_id>
233
                                                                <plantname>
234 3795 aaronmk
                                                                    <rank>species</rank>
235 4205 aaronmk
                                                                    <plantname>$orig_species</plantname>
236 3722 aaronmk
                                                                    <parent_id>
237
                                                                        <plantname>
238 3795 aaronmk
                                                                            <rank>genus</rank>
239 3722 aaronmk
                                                                            <parent_id>
240
                                                                                <plantname>
241 3795 aaronmk
                                                                                    <rank>family</rank>
242 4205 aaronmk
                                                                                    <plantname>$orig_family</plantname>
243 3722 aaronmk
                                                                                </plantname>
244
                                                                            </parent_id>
245
                                                                        </plantname>
246
                                                                    </parent_id>
247
                                                                </plantname>
248
                                                            </parent_id>
249
                                                        </plantname>
250
                                                    </parent_id>
251
                                                </plantname>
252 3795 aaronmk
                                            </parent_id>
253
                                        </plantname>
254
                                    </path>
255
                                </_simplifyPath>
256
                            </plantname_id>
257
                        </plantconcept>
258
                    </plantconcept_id>
259
                </taxondetermination>
260
                <verbatimcollectorname>
261
                    <_name>
262
                        <first>$coll_firstname</first>
263
                        <last>$coll_lastname</last>
264
                    </_name>
265
                </verbatimcollectorname>
266 3942 aaronmk
                <voucher>
267
                    <specimenreplicate_id>
268
                        <specimenreplicate>
269 4045 aaronmk
                            <catalognumber_dwc>
270
                                <_if name="if indirect voucher">
271
                                    <cond>
272
                                        <_eq>
273
                                            <right>indirect</right>
274
                                            <left>$det_type</left>
275
                                        </_eq>
276
                                    </cond>
277
                                    <then>
278 3942 aaronmk
                                        <_alt>
279
                                            <1>$coll_number</1>
280
                                            <2>$voucher_string</2>
281
                                        </_alt>
282 4045 aaronmk
                                    </then>
283
                                </_if>
284
                            </catalognumber_dwc>
285 3942 aaronmk
                        </specimenreplicate>
286
                    </specimenreplicate_id>
287
                </voucher>
288 3795 aaronmk
            </taxonoccurrence>
289
        </locationevent>
290 3994 aaronmk
        <parent_id>
291
            <location>
292
                <authorlocationcode>$plot_code</authorlocationcode>
293
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
294
            </location>
295
        </parent_id>
296 3795 aaronmk
    </location>
297 3641 aaronmk
</VegBIEN>
298 4035 aaronmk
Inserted 51 new rows into database