Project

General

Profile

1 8207 aaronmk
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>FIA.new</shortname></source></source_id>
5 8207 aaronmk
        <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 10173 aaronmk
                                <iscultivated>$cultivated</iscultivated>
62 8207 aaronmk
                                <sourceaccessioncode>$individualObservationID</sourceaccessioncode>
63
                                <taxondetermination>
64
                                    <taxonverbatim_id>
65
                                        <taxonverbatim>
66
                                            <taxonlabel_id>
67
                                                <taxonlabel>
68
                                                    <parent_id>
69
                                                        <taxonlabel>
70
                                                            <parent_id>
71
                                                                <taxonlabel>
72
                                                                    <rank>cultivar</rank>
73
                                                                    <parent_id>
74
                                                                        <taxonlabel>
75
                                                                            <rank>forma</rank>
76
                                                                            <taxonepithet>$forma</taxonepithet>
77
                                                                            <parent_id>
78
                                                                                <taxonlabel>
79
                                                                                    <rank>variety</rank>
80
                                                                                    <taxonepithet>$variety</taxonepithet>
81
                                                                                    <parent_id>
82
                                                                                        <taxonlabel>
83
                                                                                            <rank>subspecies</rank>
84
                                                                                            <taxonepithet>$subspecies</taxonepithet>
85
                                                                                            <parent_id>
86
                                                                                                <taxonlabel>
87
                                                                                                    <rank>species</rank>
88
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
89
                                                                                                    <parent_id>
90
                                                                                                        <taxonlabel>
91
                                                                                                            <rank>genus</rank>
92
                                                                                                            <taxonepithet>$genus</taxonepithet>
93
                                                                                                            <parent_id>
94
                                                                                                                <taxonlabel>
95
                                                                                                                    <rank>family</rank>
96
                                                                                                                    <taxonepithet>$family</taxonepithet>
97
                                                                                                                </taxonlabel>
98
                                                                                                            </parent_id>
99
                                                                                                        </taxonlabel>
100
                                                                                                    </parent_id>
101
                                                                                                </taxonlabel>
102
                                                                                            </parent_id>
103
                                                                                        </taxonlabel>
104
                                                                                    </parent_id>
105
                                                                                </taxonlabel>
106
                                                                            </parent_id>
107
                                                                        </taxonlabel>
108
                                                                    </parent_id>
109
                                                                </taxonlabel>
110
                                                            </parent_id>
111
                                                        </taxonlabel>
112
                                                    </parent_id>
113
                                                    <taxonomicname>
114
                                                        <_merge_prefix>
115
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
116
                                                            <value>
117
                                                                <_alt>
118
                                                                    <1>$scientificName</1>
119
                                                                    <2>
120
                                                                        <_alt>
121
                                                                            <1>$taxonName</1>
122
                                                                            <2>
123
                                                                                <_join_words>
124 9882 aaronmk
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
125 8207 aaronmk
                                                                                    <3>$specificEpithet</3>
126
                                                                                    <4>$subspecies</4>
127
                                                                                    <6>
128
                                                                                        <_join_words>
129
                                                                                            <1>var. </1>
130
                                                                                            <2>$variety</2>
131
                                                                                        </_join_words>
132
                                                                                    </6>
133
                                                                                    <7>
134
                                                                                        <_join_words>
135
                                                                                            <1>fm. </1>
136
                                                                                            <2>$forma</2>
137
                                                                                        </_join_words>
138
                                                                                    </7>
139
                                                                                </_join_words>
140
                                                                            </2>
141
                                                                        </_alt>
142
                                                                    </2>
143
                                                                </_alt>
144
                                                            </value>
145
                                                        </_merge_prefix>
146
                                                    </taxonomicname>
147
                                                </taxonlabel>
148
                                            </taxonlabel_id>
149
                                            <family>$family</family>
150
                                            <genus>$genus</genus>
151
                                            <specific_epithet>$specificEpithet</specific_epithet>
152
                                            <taxonname>$taxonName</taxonname>
153
                                            <taxonomicname>$scientificName</taxonomicname>
154
                                        </taxonverbatim>
155
                                    </taxonverbatim_id>
156
                                </taxondetermination>
157
                            </taxonoccurrence>
158
                        </locationevent>
159
                        <locationplace>
160
                            <place_id>
161
                                <place>
162
                                    <coordinates_id>
163
                                        <coordinates>
164
                                            <latitude_deg>
165
                                                <_nullIf>
166
                                                    <null>0</null>
167
                                                    <type>float</type>
168
                                                    <value>$decimalLatitude</value>
169
                                                </_nullIf>
170
                                            </latitude_deg>
171
                                            <longitude_deg>
172
                                                <_nullIf>
173
                                                    <null>0</null>
174
                                                    <type>float</type>
175
                                                    <value>$decimalLongitude</value>
176
                                                </_nullIf>
177
                                            </longitude_deg>
178
                                        </coordinates>
179
                                    </coordinates_id>
180
                                    <county>$county</county>
181
                                    <matched_place_id>
182
                                        <place>
183
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
184
                                            <coordinates_id>
185
                                                <coordinates>
186
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
187
                                                    <latitude_deg>
188
                                                        <_nullIf>
189
                                                            <null>0</null>
190
                                                            <type>float</type>
191
                                                            <value>$decimalLatitude</value>
192
                                                        </_nullIf>
193
                                                    </latitude_deg>
194
                                                    <longitude_deg>
195
                                                        <_nullIf>
196
                                                            <null>0</null>
197
                                                            <type>float</type>
198
                                                            <value>$decimalLongitude</value>
199
                                                        </_nullIf>
200
                                                    </longitude_deg>
201
                                                </coordinates>
202
                                            </coordinates_id>
203
                                            <county>$county</county>
204
                                            <stateprovince>$stateProvince</stateprovince>
205
                                        </place>
206
                                    </matched_place_id>
207
                                    <stateprovince>$stateProvince</stateprovince>
208
                                </place>
209
                            </place_id>
210
                        </locationplace>
211
                        <slopeaspect_deg><_compass><value>$slopeAspect</value></_compass></slopeaspect_deg>
212
                        <slopegradient_fraction>$slopeGradient</slopegradient_fraction>
213
                        <sourceaccessioncode>$subplotID</sourceaccessioncode>
214
                    </location>
215
                </path>
216
            </_simplifyPath>
217
        </path>
218
    </_setDefault>
219
</VegBIEN>
220 9863 aaronmk
Inserted 27 new rows into database