Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 3641 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>ACAD.new</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 10313 aaronmk
                                <1>$dataProviderRecordID</1>
13 4621 aaronmk
                                <2>
14
                                    <_join>
15 12879 aaronmk
                                        <1>$specimen_duplicate_institutions</1>
16 6403 aaronmk
                                        <2>
17
                                            <_join>
18 10313 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21
                                        </2>
22 10313 aaronmk
                                        <3>$accessionNumber</3>
23 4621 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 5958 aaronmk
                                <place>
219
                                    <coordinates_id>
220
                                        <coordinates>
221 5969 aaronmk
                                            <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 5958 aaronmk
                                        </coordinates>
236
                                    </coordinates_id>
237 10565 aaronmk
                                    <placename_id>
238
                                        <placename>
239
                                            <rank>municipality</rank>
240
                                            <placename>$municipality</placename>
241
                                        </placename>
242
                                    </placename_id>
243 6403 aaronmk
                                    <continent>$continent</continent>
244 5958 aaronmk
                                    <country>$country</country>
245 6294 aaronmk
                                    <county>$county</county>
246 6403 aaronmk
                                    <matched_place_id>
247
                                        <place>
248
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
249
                                            <coordinates_id>
250
                                                <coordinates>
251
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
252
                                                    <latitude_deg>
253
                                                        <_nullIf>
254
                                                            <null>0</null>
255
                                                            <type>float</type>
256
                                                            <value>$decimalLatitude</value>
257
                                                        </_nullIf>
258
                                                    </latitude_deg>
259
                                                    <longitude_deg>
260
                                                        <_nullIf>
261
                                                            <null>0</null>
262
                                                            <type>float</type>
263
                                                            <value>$decimalLongitude</value>
264
                                                        </_nullIf>
265
                                                    </longitude_deg>
266
                                                </coordinates>
267
                                            </coordinates_id>
268
                                            <country>$country</country>
269
                                            <county>$county</county>
270
                                            <stateprovince>$stateProvince</stateprovince>
271
                                        </place>
272
                                    </matched_place_id>
273 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
274
                                </place>
275 6403 aaronmk
                            </place_id>
276
                        </locationplace>
277
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
278
                    </location>
279
                </path>
280
            </_simplifyPath>
281 4621 aaronmk
        </path>
282 6403 aaronmk
    </_setDefault>
283 3641 aaronmk
</VegBIEN>
284 7162 aaronmk
Inserted 42 new rows into database