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>$PlotCode</authorlocationcode>
|
10
|
<sourceaccessioncode>$PlotID</sourceaccessioncode>
|
11
|
</location>
|
12
|
</parent_id>
|
13
|
<authorlocationcode>$Line</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>$NoInd</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
|
<notes>$Notes</notes>
|
32
|
<plantobservation>
|
33
|
<collectionnumber>$Ind</collectionnumber>
|
34
|
<sourceaccessioncode>$PlotObsID</sourceaccessioncode>
|
35
|
<specimenreplicate>
|
36
|
<catalognumber_dwc>
|
37
|
<_if name="if indirect voucher">
|
38
|
<cond>
|
39
|
<_eq>
|
40
|
<right>indirect</right>
|
41
|
<left>$DetType</left>
|
42
|
</_eq>
|
43
|
</cond>
|
44
|
<else>
|
45
|
<_alt>
|
46
|
<1>$coll_number</1>
|
47
|
<2>$SourceVoucher</2>
|
48
|
</_alt>
|
49
|
</else>
|
50
|
</_if>
|
51
|
</catalognumber_dwc>
|
52
|
</specimenreplicate>
|
53
|
<stemobservation>
|
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>$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>$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>$liana_infestation</definedvalue>
|
80
|
</definedvalue>
|
81
|
<diameterbreastheight_m>$temp_dbh</diameterbreastheight_m>
|
82
|
<height_m>$height_m</height_m>
|
83
|
<heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
|
84
|
<stemtag>
|
85
|
<iscurrent>true</iscurrent>
|
86
|
<tag>
|
87
|
<_alt>
|
88
|
<1>$tag2</1>
|
89
|
<2>$tag1</2>
|
90
|
</_alt>
|
91
|
</tag>
|
92
|
</stemtag>
|
93
|
<xposition_m>$x_position</xposition_m>
|
94
|
<yposition_m>$y_position</yposition_m>
|
95
|
</stemobservation>
|
96
|
</plantobservation>
|
97
|
</aggregateoccurrence>
|
98
|
<authortaxoncode>$Ind</authortaxoncode>
|
99
|
<growthform>
|
100
|
<_map>
|
101
|
<T>tree</T>
|
102
|
<Arbol>tree</Arbol>
|
103
|
<palm>tree</palm>
|
104
|
<H>hemiepiphyte</H>
|
105
|
<Hemiepífito>hemiepiphyte</Hemiepífito>
|
106
|
<L>liana</L>
|
107
|
<l>liana</l>
|
108
|
<L?>liana</L?>
|
109
|
<Liana>liana</Liana>
|
110
|
<E>epiphyte</E>
|
111
|
<S>shrub</S>
|
112
|
<Hb>herb</Hb>
|
113
|
<vine-herbaceous>vine</vine-herbaceous>
|
114
|
<graminoid>grass</graminoid>
|
115
|
<rosette>forb</rosette>
|
116
|
<*>*</*>
|
117
|
<value>$Habit</value>
|
118
|
</_map>
|
119
|
</growthform>
|
120
|
<sourceaccessioncode>$PlotObsID</sourceaccessioncode>
|
121
|
<taxondetermination>
|
122
|
<taxonpath_id>
|
123
|
<taxonpath>
|
124
|
<family>$Family</family>
|
125
|
<genus>$Genus</genus>
|
126
|
<scientificnameauthor>$auth</scientificnameauthor>
|
127
|
<species>$Species</species>
|
128
|
<subspecies>
|
129
|
<_name>
|
130
|
<first>$infra_rank_1</first>
|
131
|
<last>$infra_ep_1</last>
|
132
|
</_name>
|
133
|
</subspecies>
|
134
|
</taxonpath>
|
135
|
</taxonpath_id>
|
136
|
<taxonfit>$cfaff</taxonfit>
|
137
|
</taxondetermination>
|
138
|
<taxondetermination>
|
139
|
<isoriginal>true</isoriginal>
|
140
|
<taxonpath_id>
|
141
|
<taxonpath>
|
142
|
<family>$OrigFamily</family>
|
143
|
<genus>$OrigGenus</genus>
|
144
|
<species>$OrigSpecies</species>
|
145
|
</taxonpath>
|
146
|
</taxonpath_id>
|
147
|
</taxondetermination>
|
148
|
<verbatimcollectorname>
|
149
|
<_name>
|
150
|
<first>$coll_firstname</first>
|
151
|
<last>$coll_lastname</last>
|
152
|
</_name>
|
153
|
</verbatimcollectorname>
|
154
|
<voucher>
|
155
|
<specimenreplicate_id>
|
156
|
<specimenreplicate>
|
157
|
<catalognumber_dwc>
|
158
|
<_if name="if indirect voucher">
|
159
|
<cond>
|
160
|
<_eq>
|
161
|
<right>indirect</right>
|
162
|
<left>$DetType</left>
|
163
|
</_eq>
|
164
|
</cond>
|
165
|
<then>
|
166
|
<_alt>
|
167
|
<1>$coll_number</1>
|
168
|
<2>$SourceVoucher</2>
|
169
|
</_alt>
|
170
|
</then>
|
171
|
</_if>
|
172
|
</catalognumber_dwc>
|
173
|
</specimenreplicate>
|
174
|
</specimenreplicate_id>
|
175
|
</voucher>
|
176
|
</taxonoccurrence>
|
177
|
</locationevent>
|
178
|
</location>
|
179
|
</path>
|
180
|
</_simplifyPath>
|
181
|
</VegBIEN>
|
182
|
Inserted 34 new rows into database
|