Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 6349 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>HIBG.new</shortname></source></source_id>
5 6349 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 10260 aaronmk
                                <1>$dataProviderRecordID</1>
13 6349 aaronmk
                                <2>
14
                                    <_join>
15 12879 aaronmk
                                        <1>$specimen_duplicate_institutions</1>
16 6403 aaronmk
                                        <2>
17
                                            <_join>
18 10260 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21
                                        </2>
22 10260 aaronmk
                                        <3>$accessionNumber</3>
23 6349 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35 6432 aaronmk
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
45 6403 aaronmk
                        <locationevent>
46 11107 aaronmk
                            <locationevent fkey="parent_id">
47
                                <taxonoccurrence>
48
                                    <aggregateoccurrence>
49
                                        <collectiondate>$dateCollected</collectiondate>
50
                                        <notes>$occurrenceRemarks</notes>
51
                                        <plantobservation>
52
                                            <authorplantcode>$collectorNumber</authorplantcode>
53
                                            <reproductivecondition>$reproductiveCondition</reproductivecondition>
54
                                            <specimenreplicate>
55
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
56
                                                <collectioncode_dwc>
57
                                                    <_alt>
58
                                                        <1>$collection</1>
59
                                                        <2>$collectionURL</2>
60
                                                    </_alt>
61
                                                </collectioncode_dwc>
62
                                                <collectionnumber>$collectorNumber</collectionnumber>
63 12886 aaronmk
                                                <duplicate_institutions_sourcelist_id>
64 11107 aaronmk
                                                    <sourcelist>
65 12879 aaronmk
                                                        <name>$specimen_duplicate_institutions</name>
66 11107 aaronmk
                                                        <sourcename>
67
                                                            <name>
68
                                                                <_split>
69
                                                                    <separator>[,;] *</separator>
70 12879 aaronmk
                                                                    <value>$specimen_duplicate_institutions</value>
71 11107 aaronmk
                                                                </_split>
72
                                                            </name>
73
                                                        </sourcename>
74
                                                    </sourcelist>
75 12886 aaronmk
                                                </duplicate_institutions_sourcelist_id>
76 11107 aaronmk
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
77
                                            </specimenreplicate>
78
                                        </plantobservation>
79
                                    </aggregateoccurrence>
80
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
81
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
82
                                    <taxondetermination>
83
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
84
                                        <taxonverbatim_id>
85
                                            <taxonverbatim>
86
                                                <taxonlabel_id>
87
                                                    <taxonlabel>
88
                                                        <parent_id>
89
                                                            <taxonlabel>
90
                                                                <rank>$taxonRank</rank>
91
                                                                <parent_id>
92
                                                                    <taxonlabel>
93
                                                                        <rank>cultivar</rank>
94
                                                                        <parent_id>
95
                                                                            <taxonlabel>
96
                                                                                <rank>forma</rank>
97
                                                                                <parent_id>
98
                                                                                    <taxonlabel>
99
                                                                                        <rank>variety</rank>
100
                                                                                        <parent_id>
101
                                                                                            <taxonlabel>
102
                                                                                                <rank>subspecies</rank>
103
                                                                                                <parent_id>
104
                                                                                                    <taxonlabel>
105
                                                                                                        <rank>species</rank>
106
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
107
                                                                                                        <parent_id>
108
                                                                                                            <taxonlabel>
109
                                                                                                                <rank>genus</rank>
110
                                                                                                                <taxonepithet>$genus</taxonepithet>
111
                                                                                                                <parent_id>
112
                                                                                                                    <taxonlabel>
113
                                                                                                                        <rank>family</rank>
114
                                                                                                                        <taxonepithet>$family</taxonepithet>
115
                                                                                                                        <parent_id>
116
                                                                                                                            <taxonlabel>
117
                                                                                                                                <rank>order</rank>
118
                                                                                                                                <taxonepithet>$order</taxonepithet>
119
                                                                                                                                <parent_id>
120
                                                                                                                                    <taxonlabel>
121
                                                                                                                                        <rank>class</rank>
122
                                                                                                                                        <taxonepithet>$class</taxonepithet>
123
                                                                                                                                        <parent_id>
124
                                                                                                                                            <taxonlabel>
125
                                                                                                                                                <rank>phylum</rank>
126
                                                                                                                                                <taxonepithet>$phylum</taxonepithet>
127
                                                                                                                                                <parent_id>
128
                                                                                                                                                    <taxonlabel>
129
                                                                                                                                                        <rank>kingdom</rank>
130
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
131
                                                                                                                                                    </taxonlabel>
132
                                                                                                                                                </parent_id>
133
                                                                                                                                            </taxonlabel>
134
                                                                                                                                        </parent_id>
135
                                                                                                                                    </taxonlabel>
136
                                                                                                                                </parent_id>
137
                                                                                                                            </taxonlabel>
138
                                                                                                                        </parent_id>
139
                                                                                                                    </taxonlabel>
140
                                                                                                                </parent_id>
141
                                                                                                            </taxonlabel>
142
                                                                                                        </parent_id>
143
                                                                                                    </taxonlabel>
144
                                                                                                </parent_id>
145
                                                                                            </taxonlabel>
146
                                                                                        </parent_id>
147
                                                                                    </taxonlabel>
148
                                                                                </parent_id>
149
                                                                            </taxonlabel>
150
                                                                        </parent_id>
151
                                                                    </taxonlabel>
152
                                                                </parent_id>
153
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
154
                                                            </taxonlabel>
155
                                                        </parent_id>
156
                                                        <rank>$taxonRank</rank>
157
                                                        <taxonomicname>
158
                                                            <_merge_prefix>
159
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
160
                                                                <value>
161
                                                                    <_alt>
162
                                                                        <1>$scientificName</1>
163
                                                                        <2>
164
                                                                            <_join_words>
165
                                                                                <1>
166
                                                                                    <_join_words>
167
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
168
                                                                                        <3>$specificEpithet</3>
169
                                                                                        <5>
170
                                                                                            <_join_words>
171
                                                                                                <1>
172
                                                                                                    <_if name="if has infraspecificEpithet">
173
                                                                                                        <cond>$infraspecificEpithet</cond>
174
                                                                                                        <then>$taxonRank</then>
175
                                                                                                    </_if>
176
                                                                                                </1>
177
                                                                                                <2>$infraspecificEpithet</2>
178
                                                                                            </_join_words>
179
                                                                                        </5>
180
                                                                                    </_join_words>
181
                                                                                </1>
182
                                                                                <2>$scientificNameAuthorship</2>
183
                                                                            </_join_words>
184
                                                                        </2>
185
                                                                    </_alt>
186
                                                                </value>
187
                                                            </_merge_prefix>
188
                                                        </taxonomicname>
189
                                                    </taxonlabel>
190
                                                </taxonlabel_id>
191
                                                <author>$scientificNameAuthorship</author>
192
                                                <family>$family</family>
193
                                                <genus>$genus</genus>
194
                                                <specific_epithet>$specificEpithet</specific_epithet>
195
                                                <taxonomicname>$scientificName</taxonomicname>
196
                                                <verbatimrank>$taxonRank</verbatimrank>
197
                                            </taxonverbatim>
198
                                        </taxonverbatim_id>
199
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
200
                                    </taxondetermination>
201
                                </taxonoccurrence>
202
                            </locationevent>
203 6403 aaronmk
                        </locationevent>
204
                        <locationnarrative>
205
                            <_merge>
206
                                <1>$locality</1>
207
                                <3>
208
                                    <_label>
209
                                        <label>habitat</label>
210
                                        <value>$habitat</value>
211
                                    </_label>
212
                                </3>
213 8078 aaronmk
                                <4>$locationRemarks</4>
214 6403 aaronmk
                            </_merge>
215
                        </locationnarrative>
216
                        <locationplace>
217
                            <place_id>
218 6349 aaronmk
                                <place>
219
                                    <coordinates_id>
220
                                        <coordinates>
221
                                            <latitude_deg>
222
                                                <_nullIf>
223
                                                    <null>0</null>
224
                                                    <type>float</type>
225
                                                    <value>$decimalLatitude</value>
226
                                                </_nullIf>
227
                                            </latitude_deg>
228
                                            <longitude_deg>
229
                                                <_nullIf>
230
                                                    <null>0</null>
231
                                                    <type>float</type>
232
                                                    <value>$decimalLongitude</value>
233
                                                </_nullIf>
234
                                            </longitude_deg>
235 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
236 6349 aaronmk
                                        </coordinates>
237
                                    </coordinates_id>
238 10565 aaronmk
                                    <placename_id>
239
                                        <placename>
240
                                            <rank>municipality</rank>
241
                                            <placename>$municipality</placename>
242
                                        </placename>
243
                                    </placename_id>
244 6403 aaronmk
                                    <continent>$continent</continent>
245 6349 aaronmk
                                    <country>$country</country>
246
                                    <county>$county</county>
247 6403 aaronmk
                                    <matched_place_id>
248
                                        <place>
249
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
250
                                            <coordinates_id>
251
                                                <coordinates>
252
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
253
                                                    <latitude_deg>
254
                                                        <_nullIf>
255
                                                            <null>0</null>
256
                                                            <type>float</type>
257
                                                            <value>$decimalLatitude</value>
258
                                                        </_nullIf>
259
                                                    </latitude_deg>
260
                                                    <longitude_deg>
261
                                                        <_nullIf>
262
                                                            <null>0</null>
263
                                                            <type>float</type>
264
                                                            <value>$decimalLongitude</value>
265
                                                        </_nullIf>
266
                                                    </longitude_deg>
267
                                                </coordinates>
268
                                            </coordinates_id>
269
                                            <country>$country</country>
270
                                            <county>$county</county>
271
                                            <stateprovince>$stateProvince</stateprovince>
272
                                        </place>
273
                                    </matched_place_id>
274 6349 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
275
                                </place>
276 6403 aaronmk
                            </place_id>
277
                        </locationplace>
278
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
279
                    </location>
280
                </path>
281
            </_simplifyPath>
282 6349 aaronmk
        </path>
283 6403 aaronmk
    </_setDefault>
284 6349 aaronmk
</VegBIEN>
285 10565 aaronmk
Inserted 38 new rows into database