Project

General

Profile

1 6343 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>QFA.new</shortname></source></source_id>
5 6343 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 6343 aaronmk
                                <2>
14
                                    <_join>
15 10260 aaronmk
                                        <1>$specimenHolderInstitutions</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 6343 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
                                            <specimenreplicate>
54
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
55
                                                <collectioncode_dwc>
56
                                                    <_alt>
57
                                                        <1>$collection</1>
58
                                                        <2>$collectionURL</2>
59
                                                    </_alt>
60
                                                </collectioncode_dwc>
61
                                                <collectionnumber>$collectorNumber</collectionnumber>
62
                                                <institution_id>
63
                                                    <sourcelist>
64
                                                        <name>$specimenHolderInstitutions</name>
65
                                                        <sourcename>
66
                                                            <name>
67
                                                                <_split>
68
                                                                    <separator>[,;] *</separator>
69
                                                                    <value>$specimenHolderInstitutions</value>
70
                                                                </_split>
71
                                                            </name>
72
                                                        </sourcename>
73
                                                    </sourcelist>
74
                                                </institution_id>
75
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
76
                                            </specimenreplicate>
77
                                        </plantobservation>
78
                                    </aggregateoccurrence>
79
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                    <iscultivated>
81
                                        <_map>
82
                                            <cultivated>t</cultivated>
83
                                            <wild>f</wild>
84
                                            <*></*>
85
                                            <value>$establishmentMeans</value>
86
                                        </_map>
87
                                    </iscultivated>
88
                                    <isnative>
89
                                        <_map>
90
                                            <native>t</native>
91
                                            <exotic>f</exotic>
92
                                            <*></*>
93
                                            <value>$establishmentMeans</value>
94
                                        </_map>
95
                                    </isnative>
96
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
97
                                    <taxondetermination>
98
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
99
                                        <taxonverbatim_id>
100
                                            <taxonverbatim>
101
                                                <taxonlabel_id>
102
                                                    <taxonlabel>
103
                                                        <parent_id>
104
                                                            <taxonlabel>
105
                                                                <rank>$taxonRank</rank>
106
                                                                <parent_id>
107
                                                                    <taxonlabel>
108
                                                                        <rank>cultivar</rank>
109
                                                                        <parent_id>
110
                                                                            <taxonlabel>
111
                                                                                <rank>forma</rank>
112
                                                                                <parent_id>
113
                                                                                    <taxonlabel>
114
                                                                                        <rank>variety</rank>
115
                                                                                        <parent_id>
116
                                                                                            <taxonlabel>
117
                                                                                                <rank>subspecies</rank>
118
                                                                                                <parent_id>
119
                                                                                                    <taxonlabel>
120
                                                                                                        <rank>species</rank>
121
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
122
                                                                                                        <parent_id>
123
                                                                                                            <taxonlabel>
124
                                                                                                                <rank>genus</rank>
125
                                                                                                                <taxonepithet>$genus</taxonepithet>
126
                                                                                                                <parent_id>
127
                                                                                                                    <taxonlabel>
128
                                                                                                                        <rank>family</rank>
129
                                                                                                                        <taxonepithet>$family</taxonepithet>
130
                                                                                                                        <parent_id>
131
                                                                                                                            <taxonlabel>
132
                                                                                                                                <rank>order</rank>
133
                                                                                                                                <parent_id>
134
                                                                                                                                    <taxonlabel>
135
                                                                                                                                        <rank>class</rank>
136
                                                                                                                                        <parent_id>
137
                                                                                                                                            <taxonlabel>
138
                                                                                                                                                <rank>phylum</rank>
139
                                                                                                                                                <parent_id>
140
                                                                                                                                                    <taxonlabel>
141
                                                                                                                                                        <rank>kingdom</rank>
142
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
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
                                                                                                            </taxonlabel>
154
                                                                                                        </parent_id>
155
                                                                                                    </taxonlabel>
156
                                                                                                </parent_id>
157
                                                                                            </taxonlabel>
158
                                                                                        </parent_id>
159
                                                                                    </taxonlabel>
160
                                                                                </parent_id>
161
                                                                            </taxonlabel>
162
                                                                        </parent_id>
163
                                                                    </taxonlabel>
164
                                                                </parent_id>
165
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
166
                                                            </taxonlabel>
167
                                                        </parent_id>
168
                                                        <rank>$taxonRank</rank>
169
                                                        <taxonomicname>
170
                                                            <_merge_prefix>
171
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
172
                                                                <value>
173
                                                                    <_alt>
174
                                                                        <1>$scientificName</1>
175
                                                                        <2>
176
                                                                            <_join_words>
177
                                                                                <1>
178
                                                                                    <_join_words>
179
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
180
                                                                                        <3>$specificEpithet</3>
181
                                                                                        <5>
182
                                                                                            <_join_words>
183
                                                                                                <1>
184
                                                                                                    <_if name="if has infraspecificEpithet">
185
                                                                                                        <cond>$infraspecificEpithet</cond>
186
                                                                                                        <then>$taxonRank</then>
187
                                                                                                    </_if>
188
                                                                                                </1>
189
                                                                                                <2>$infraspecificEpithet</2>
190
                                                                                            </_join_words>
191
                                                                                        </5>
192
                                                                                    </_join_words>
193
                                                                                </1>
194
                                                                                <2>$scientificNameAuthorship</2>
195
                                                                            </_join_words>
196
                                                                        </2>
197
                                                                    </_alt>
198
                                                                </value>
199
                                                            </_merge_prefix>
200
                                                        </taxonomicname>
201
                                                    </taxonlabel>
202
                                                </taxonlabel_id>
203
                                                <author>$scientificNameAuthorship</author>
204
                                                <family>$family</family>
205
                                                <genus>$genus</genus>
206
                                                <specific_epithet>$specificEpithet</specific_epithet>
207
                                                <taxonomicname>$scientificName</taxonomicname>
208
                                                <verbatimrank>$taxonRank</verbatimrank>
209
                                            </taxonverbatim>
210
                                        </taxonverbatim_id>
211
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
212
                                        <taxonfit>$identificationQualifier</taxonfit>
213
                                    </taxondetermination>
214
                                </taxonoccurrence>
215
                            </locationevent>
216 6403 aaronmk
                        </locationevent>
217
                        <locationnarrative>
218
                            <_merge>
219
                                <1>$locality</1>
220
                                <3>
221
                                    <_label>
222
                                        <label>habitat</label>
223
                                        <value>$habitat</value>
224
                                    </_label>
225
                                </3>
226
                            </_merge>
227
                        </locationnarrative>
228
                        <locationplace>
229
                            <place_id>
230 6343 aaronmk
                                <place>
231
                                    <coordinates_id>
232
                                        <coordinates>
233
                                            <latitude_deg>
234
                                                <_nullIf>
235
                                                    <null>0</null>
236
                                                    <type>float</type>
237
                                                    <value>$decimalLatitude</value>
238
                                                </_nullIf>
239
                                            </latitude_deg>
240
                                            <longitude_deg>
241
                                                <_nullIf>
242
                                                    <null>0</null>
243
                                                    <type>float</type>
244
                                                    <value>$decimalLongitude</value>
245
                                                </_nullIf>
246
                                            </longitude_deg>
247 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
248 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
249
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
250 6343 aaronmk
                                        </coordinates>
251
                                    </coordinates_id>
252
                                    <country>$country</country>
253 6403 aaronmk
                                    <matched_place_id>
254
                                        <place>
255
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
256
                                            <coordinates_id>
257
                                                <coordinates>
258
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
259
                                                    <latitude_deg>
260
                                                        <_nullIf>
261
                                                            <null>0</null>
262
                                                            <type>float</type>
263
                                                            <value>$decimalLatitude</value>
264
                                                        </_nullIf>
265
                                                    </latitude_deg>
266
                                                    <longitude_deg>
267
                                                        <_nullIf>
268
                                                            <null>0</null>
269
                                                            <type>float</type>
270
                                                            <value>$decimalLongitude</value>
271
                                                        </_nullIf>
272
                                                    </longitude_deg>
273
                                                </coordinates>
274
                                            </coordinates_id>
275
                                            <country>$country</country>
276
                                            <stateprovince>$stateProvince</stateprovince>
277
                                        </place>
278
                                    </matched_place_id>
279 6343 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
280
                                </place>
281 6403 aaronmk
                            </place_id>
282
                        </locationplace>
283
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
284
                    </location>
285
                </path>
286
            </_simplifyPath>
287 6343 aaronmk
        </path>
288 6403 aaronmk
    </_setDefault>
289 6343 aaronmk
</VegBIEN>
290 7162 aaronmk
Inserted 42 new rows into database