Project

General

Profile

1 8207 aaronmk
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>FIA</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <parent_id>
11
                            <location>
12
                                <authorlocationcode>$locationName</authorlocationcode>
13
                                <sourceaccessioncode>$locationID</sourceaccessioncode>
14
                            </location>
15
                        </parent_id>
16
                        <authorlocationcode>$subplot</authorlocationcode>
17
                        <locationevent>
18
                            <parent_id>
19
                                <locationevent>
20
                                    <location_id>
21
                                        <location>
22
                                            <authorlocationcode>
23
                                                <_if name="if subplot">
24
                                                    <cond>$subplotID</cond>
25
                                                    <then>$locationName</then>
26
                                                </_if>
27
                                            </authorlocationcode>
28
                                            <sourceaccessioncode>
29
                                                <_if name="if subplot">
30
                                                    <cond>$subplotID</cond>
31
                                                    <then>$locationID</then>
32
                                                </_if>
33
                                            </sourceaccessioncode>
34
                                        </location>
35
                                    </location_id>
36
                                    <authoreventcode>$authorEventCode</authoreventcode>
37
                                </locationevent>
38
                            </parent_id>
39
                            <commclass>
40
                                <commdetermination>
41
                                    <commconcept_id>
42
                                        <commconcept>
43
                                            <commname_id><commname><commname>$communityID</commname></commname></commname_id>
44
                                            <commdescription>$communityName</commdescription>
45
                                        </commconcept>
46
                                    </commconcept_id>
47
                                </commdetermination>
48
                            </commclass>
49
                            <taxonoccurrence>
50
                                <aggregateoccurrence>
51
                                    <plantobservation>
52
                                        <authorplantcode>$individualCode</authorplantcode>
53
                                        <sourceaccessioncode>$individualObservationID</sourceaccessioncode>
54
                                        <stemobservation>
55
                                            <diameterbreastheight_m><_in_to_m><value>$diameterBreastHeight_in</value></_in_to_m></diameterbreastheight_m>
56
                                            <height_m><_ft_to_m><value>$height_ft</value></_ft_to_m></height_m>
57
                                        </stemobservation>
58
                                    </plantobservation>
59
                                </aggregateoccurrence>
60
                                <authortaxoncode>$individualCode</authortaxoncode>
61 8247 aaronmk
                                <iscultivated>
62
                                    <_alt>
63
                                        <1><_not><value>$oldGrowth</value></_not></1>
64
                                        <2>$cultivated</2>
65
                                    </_alt>
66
                                </iscultivated>
67 8207 aaronmk
                                <sourceaccessioncode>$individualObservationID</sourceaccessioncode>
68
                                <taxondetermination>
69
                                    <taxonverbatim_id>
70
                                        <taxonverbatim>
71
                                            <taxonlabel_id>
72
                                                <taxonlabel>
73
                                                    <parent_id>
74
                                                        <taxonlabel>
75
                                                            <parent_id>
76
                                                                <taxonlabel>
77
                                                                    <rank>cultivar</rank>
78
                                                                    <parent_id>
79
                                                                        <taxonlabel>
80
                                                                            <rank>forma</rank>
81
                                                                            <taxonepithet>$forma</taxonepithet>
82
                                                                            <parent_id>
83
                                                                                <taxonlabel>
84
                                                                                    <rank>variety</rank>
85
                                                                                    <taxonepithet>$variety</taxonepithet>
86
                                                                                    <parent_id>
87
                                                                                        <taxonlabel>
88
                                                                                            <rank>subspecies</rank>
89
                                                                                            <taxonepithet>$subspecies</taxonepithet>
90
                                                                                            <parent_id>
91
                                                                                                <taxonlabel>
92
                                                                                                    <rank>species</rank>
93
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
94
                                                                                                    <parent_id>
95
                                                                                                        <taxonlabel>
96
                                                                                                            <rank>genus</rank>
97
                                                                                                            <taxonepithet>$genus</taxonepithet>
98
                                                                                                            <parent_id>
99
                                                                                                                <taxonlabel>
100
                                                                                                                    <rank>family</rank>
101
                                                                                                                    <taxonepithet>$family</taxonepithet>
102
                                                                                                                </taxonlabel>
103
                                                                                                            </parent_id>
104
                                                                                                        </taxonlabel>
105
                                                                                                    </parent_id>
106
                                                                                                </taxonlabel>
107
                                                                                            </parent_id>
108
                                                                                        </taxonlabel>
109
                                                                                    </parent_id>
110
                                                                                </taxonlabel>
111
                                                                            </parent_id>
112
                                                                        </taxonlabel>
113
                                                                    </parent_id>
114
                                                                </taxonlabel>
115
                                                            </parent_id>
116
                                                        </taxonlabel>
117
                                                    </parent_id>
118
                                                    <taxonomicname>
119
                                                        <_merge_prefix>
120
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
121
                                                            <value>
122
                                                                <_alt>
123
                                                                    <1>$scientificName</1>
124
                                                                    <2>
125
                                                                        <_alt>
126
                                                                            <1>$taxonName</1>
127
                                                                            <2>
128
                                                                                <_join_words>
129
                                                                                    <2>$genus</2>
130
                                                                                    <3>$specificEpithet</3>
131
                                                                                    <4>$subspecies</4>
132
                                                                                    <6>
133
                                                                                        <_join_words>
134
                                                                                            <1>var. </1>
135
                                                                                            <2>$variety</2>
136
                                                                                        </_join_words>
137
                                                                                    </6>
138
                                                                                    <7>
139
                                                                                        <_join_words>
140
                                                                                            <1>fm. </1>
141
                                                                                            <2>$forma</2>
142
                                                                                        </_join_words>
143
                                                                                    </7>
144
                                                                                </_join_words>
145
                                                                            </2>
146
                                                                        </_alt>
147
                                                                    </2>
148
                                                                </_alt>
149
                                                            </value>
150
                                                        </_merge_prefix>
151
                                                    </taxonomicname>
152
                                                </taxonlabel>
153
                                            </taxonlabel_id>
154
                                            <family>$family</family>
155
                                            <genus>$genus</genus>
156
                                            <specific_epithet>$specificEpithet</specific_epithet>
157
                                            <taxonname>$taxonName</taxonname>
158
                                            <taxonomicname>$scientificName</taxonomicname>
159
                                        </taxonverbatim>
160
                                    </taxonverbatim_id>
161
                                </taxondetermination>
162
                            </taxonoccurrence>
163
                        </locationevent>
164
                        <locationplace>
165
                            <place_id>
166
                                <place>
167
                                    <coordinates_id>
168
                                        <coordinates>
169
                                            <latitude_deg>
170
                                                <_nullIf>
171
                                                    <null>0</null>
172
                                                    <type>float</type>
173
                                                    <value>$decimalLatitude</value>
174
                                                </_nullIf>
175
                                            </latitude_deg>
176
                                            <longitude_deg>
177
                                                <_nullIf>
178
                                                    <null>0</null>
179
                                                    <type>float</type>
180
                                                    <value>$decimalLongitude</value>
181
                                                </_nullIf>
182
                                            </longitude_deg>
183
                                        </coordinates>
184
                                    </coordinates_id>
185
                                    <county>$county</county>
186
                                    <matched_place_id>
187
                                        <place>
188
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
189
                                            <coordinates_id>
190
                                                <coordinates>
191
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
192
                                                    <latitude_deg>
193
                                                        <_nullIf>
194
                                                            <null>0</null>
195
                                                            <type>float</type>
196
                                                            <value>$decimalLatitude</value>
197
                                                        </_nullIf>
198
                                                    </latitude_deg>
199
                                                    <longitude_deg>
200
                                                        <_nullIf>
201
                                                            <null>0</null>
202
                                                            <type>float</type>
203
                                                            <value>$decimalLongitude</value>
204
                                                        </_nullIf>
205
                                                    </longitude_deg>
206
                                                </coordinates>
207
                                            </coordinates_id>
208
                                            <county>$county</county>
209
                                            <stateprovince>$stateProvince</stateprovince>
210
                                        </place>
211
                                    </matched_place_id>
212
                                    <stateprovince>$stateProvince</stateprovince>
213
                                </place>
214
                            </place_id>
215
                        </locationplace>
216
                        <slopeaspect_deg><_compass><value>$slopeAspect</value></_compass></slopeaspect_deg>
217
                        <slopegradient_fraction>$slopeGradient</slopegradient_fraction>
218
                        <sourceaccessioncode>$subplotID</sourceaccessioncode>
219
                    </location>
220
                </path>
221
            </_simplifyPath>
222
        </path>
223
    </_setDefault>
224
</VegBIEN>
225 8222 aaronmk
Inserted 27 new rows into database