Project

General

Profile

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