Project

General

Profile

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