1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<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
|
<cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
|
21
|
<definedvalue fkey="tablerecord_id">
|
22
|
<userdefined_id>
|
23
|
<userdefined>
|
24
|
<tablename>aggregateoccurrence</tablename>
|
25
|
<userdefinedname>censusNo</userdefinedname>
|
26
|
</userdefined>
|
27
|
</userdefined_id>
|
28
|
<definedvalue>$census_no</definedvalue>
|
29
|
</definedvalue>
|
30
|
<linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
|
31
|
<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
|
<basaldiameter_m>$basal_diam</basaldiameter_m>
|
54
|
<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
|
<diameterbreastheight_m>$stem_dbh</diameterbreastheight_m>
|
91
|
<height_m>
|
92
|
<_alt>
|
93
|
<1>$stem_height_m</1>
|
94
|
<2>$height_m</2>
|
95
|
</_alt>
|
96
|
</height_m>
|
97
|
<heightfirstbranch_m>
|
98
|
<_alt>
|
99
|
<0>$ht_first_branch_m</0>
|
100
|
<1>$stem_height_first_branch_m</1>
|
101
|
</_alt>
|
102
|
</heightfirstbranch_m>
|
103
|
<stemtag>
|
104
|
<tag>
|
105
|
<_alt>
|
106
|
<1>
|
107
|
<_alt>
|
108
|
<1>$stem_tag2</1>
|
109
|
<2>$stem_tag1</2>
|
110
|
</_alt>
|
111
|
</1>
|
112
|
<2>
|
113
|
<_alt>
|
114
|
<1>$tag2</1>
|
115
|
<2>$tag1</2>
|
116
|
</_alt>
|
117
|
</2>
|
118
|
</_alt>
|
119
|
</tag>
|
120
|
</stemtag>
|
121
|
<xposition_m>$x_position</xposition_m>
|
122
|
<yposition_m>$y_position</yposition_m>
|
123
|
</stemobservation>
|
124
|
</plantobservation>
|
125
|
</aggregateoccurrence>
|
126
|
<authortaxoncode>$individual_code</authortaxoncode>
|
127
|
<growthform>
|
128
|
<_map>
|
129
|
<T>tree</T>
|
130
|
<Arbol>tree</Arbol>
|
131
|
<palm>tree</palm>
|
132
|
<H>hemiepiphyte</H>
|
133
|
<Hemiepífito>hemiepiphyte</Hemiepífito>
|
134
|
<L>liana</L>
|
135
|
<l>liana</l>
|
136
|
<L?>liana</L?>
|
137
|
<Liana>liana</Liana>
|
138
|
<E>epiphyte</E>
|
139
|
<S>shrub</S>
|
140
|
<Hb>herb</Hb>
|
141
|
<vine-herbaceous>vine</vine-herbaceous>
|
142
|
<graminoid>grass</graminoid>
|
143
|
<rosette>forb</rosette>
|
144
|
<*>*</*>
|
145
|
<value>$habit</value>
|
146
|
</_map>
|
147
|
</growthform>
|
148
|
<sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
|
149
|
<taxondetermination>
|
150
|
<taxonpath_id>
|
151
|
<taxonpath>
|
152
|
<family>$family</family>
|
153
|
<genus>$genus</genus>
|
154
|
<scientificnameauthor>$specific_authority</scientificnameauthor>
|
155
|
<species>$specific_epithet</species>
|
156
|
<subspecies>
|
157
|
<_name>
|
158
|
<first>$infra_rank_1</first>
|
159
|
<last>$infra_ep_1</last>
|
160
|
</_name>
|
161
|
</subspecies>
|
162
|
</taxonpath>
|
163
|
</taxonpath_id>
|
164
|
<taxonfit>$cf_aff</taxonfit>
|
165
|
</taxondetermination>
|
166
|
<taxondetermination>
|
167
|
<isoriginal>true</isoriginal>
|
168
|
<taxonpath_id>
|
169
|
<taxonpath>
|
170
|
<family>$orig_family</family>
|
171
|
<species>$orig_species</species>
|
172
|
</taxonpath>
|
173
|
</taxonpath_id>
|
174
|
</taxondetermination>
|
175
|
<verbatimcollectorname>
|
176
|
<_name>
|
177
|
<first>$coll_firstname</first>
|
178
|
<last>$coll_lastname</last>
|
179
|
</_name>
|
180
|
</verbatimcollectorname>
|
181
|
<voucher>
|
182
|
<specimenreplicate_id>
|
183
|
<specimenreplicate>
|
184
|
<catalognumber_dwc>
|
185
|
<_if name="if indirect voucher">
|
186
|
<cond>
|
187
|
<_eq>
|
188
|
<right>indirect</right>
|
189
|
<left>$det_type</left>
|
190
|
</_eq>
|
191
|
</cond>
|
192
|
<then>
|
193
|
<_alt>
|
194
|
<1>$coll_number</1>
|
195
|
<2>$voucher_string</2>
|
196
|
</_alt>
|
197
|
</then>
|
198
|
</_if>
|
199
|
</catalognumber_dwc>
|
200
|
</specimenreplicate>
|
201
|
</specimenreplicate_id>
|
202
|
</voucher>
|
203
|
</taxonoccurrence>
|
204
|
</locationevent>
|
205
|
</location>
|
206
|
</path>
|
207
|
</_simplifyPath>
|
208
|
</VegBIEN>
|
209
|
Inserted 41 new rows into database
|