Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6 4324 aaronmk
            <location>
7 4621 aaronmk
                <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 4789 aaronmk
                            <cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
21 3829 aaronmk
                            <definedvalue fkey="tablerecord_id">
22
                                <userdefined_id>
23
                                    <userdefined>
24 4621 aaronmk
                                        <tablename>aggregateoccurrence</tablename>
25
                                        <userdefinedname>censusNo</userdefinedname>
26 3829 aaronmk
                                    </userdefined>
27
                                </userdefined_id>
28 4621 aaronmk
                                <definedvalue>$census_no</definedvalue>
29 3829 aaronmk
                            </definedvalue>
30 4785 aaronmk
                            <linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
31 4621 aaronmk
                            <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 4753 aaronmk
                                    <diameterbreastheight_m>$temp_dbh</diameterbreastheight_m>
82
                                    <height_m>$height_m</height_m>
83
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
84 4621 aaronmk
                                    <stemtag>
85
                                        <iscurrent>
86
                                            <_alt>
87
                                                <2>true</2>
88
                                                <1>false</1>
89
                                            </_alt>
90
                                        </iscurrent>
91
                                        <tag>$tag1</tag>
92
                                    </stemtag>
93
                                    <stemtag>
94
                                        <iscurrent>true</iscurrent>
95
                                        <tag>$tag2</tag>
96
                                    </stemtag>
97 4753 aaronmk
                                    <xposition_m>$x_position</xposition_m>
98
                                    <yposition_m>$y_position</yposition_m>
99 4621 aaronmk
                                </stemobservation>
100
                            </plantobservation>
101
                        </aggregateoccurrence>
102
                        <authortaxoncode>$Ind</authortaxoncode>
103
                        <growthform>
104
                            <_map>
105
                                <T>tree</T>
106
                                <Arbol>tree</Arbol>
107
                                <palm>tree</palm>
108
                                <H>hemiepiphyte</H>
109
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
110
                                <L>liana</L>
111
                                <l>liana</l>
112
                                <L?>liana</L?>
113
                                <Liana>liana</Liana>
114
                                <E>epiphyte</E>
115
                                <S>shrub</S>
116
                                <Hb>herb</Hb>
117
                                <vine-herbaceous>vine</vine-herbaceous>
118
                                <graminoid>grass</graminoid>
119
                                <rosette>forb</rosette>
120
                                <*>*</*>
121
                                <value>$Habit</value>
122
                            </_map>
123
                        </growthform>
124
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
125
                        <taxondetermination>
126 4718 aaronmk
                            <taxonpath_id>
127
                                <taxonpath>
128 4703 aaronmk
                                    <family>$Family</family>
129
                                    <genus>$Genus</genus>
130
                                    <scientificnameauthor>$auth</scientificnameauthor>
131
                                    <species>$Species</species>
132
                                    <subspecies>
133
                                        <_name>
134
                                            <first>$infra_rank_1</first>
135
                                            <last>$infra_ep_1</last>
136
                                        </_name>
137
                                    </subspecies>
138 4718 aaronmk
                                </taxonpath>
139
                            </taxonpath_id>
140 4621 aaronmk
                            <taxonfit>$cfaff</taxonfit>
141
                        </taxondetermination>
142
                        <taxondetermination>
143
                            <isoriginal>true</isoriginal>
144 4718 aaronmk
                            <taxonpath_id>
145
                                <taxonpath>
146 4703 aaronmk
                                    <family>$OrigFamily</family>
147
                                    <genus>$OrigGenus</genus>
148
                                    <species>$OrigSpecies</species>
149 4718 aaronmk
                                </taxonpath>
150
                            </taxonpath_id>
151 4621 aaronmk
                        </taxondetermination>
152
                        <verbatimcollectorname>
153
                            <_name>
154
                                <first>$coll_firstname</first>
155
                                <last>$coll_lastname</last>
156
                            </_name>
157
                        </verbatimcollectorname>
158
                        <voucher>
159
                            <specimenreplicate_id>
160
                                <specimenreplicate>
161
                                    <catalognumber_dwc>
162
                                        <_if name="if indirect voucher">
163
                                            <cond>
164
                                                <_eq>
165
                                                    <right>indirect</right>
166
                                                    <left>$DetType</left>
167
                                                </_eq>
168
                                            </cond>
169
                                            <then>
170
                                                <_alt>
171
                                                    <1>$coll_number</1>
172
                                                    <2>$SourceVoucher</2>
173
                                                </_alt>
174
                                            </then>
175
                                        </_if>
176
                                    </catalognumber_dwc>
177
                                </specimenreplicate>
178
                            </specimenreplicate_id>
179
                        </voucher>
180
                    </taxonoccurrence>
181
                </locationevent>
182
            </location>
183
        </path>
184
    </_simplifyPath>
185 3641 aaronmk
</VegBIEN>
186 4703 aaronmk
Inserted 34 new rows into database