Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_alt>
26
                        <1>
27
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30
                                <value>$verbatimElevation</value>
31
                            </_units>
32
                        </1>
33
                        <2>
34
                            <_avg>
35
                                <max>$maximumElevationInMeters</max>
36
                                <min>$minimumElevationInMeters</min>
37
                            </_avg>
38
                        </2>
39
                    </_alt>
40
                </elevation_m>
41
                <locationcoords>
42
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44
                    <latitude_deg>
45
                        <_nullIf>
46
                            <null>0</null>
47
                            <type>float</type>
48
                            <value>$decimalLatitude</value>
49
                        </_nullIf>
50
                    </latitude_deg>
51
                    <longitude_deg>
52
                        <_nullIf>
53
                            <null>0</null>
54
                            <type>float</type>
55
                            <value>$decimalLongitude</value>
56
                        </_nullIf>
57
                    </longitude_deg>
58
                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
59
                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
60
                </locationcoords>
61
                <locationevent>
62
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
63
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
64
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
65
                    <taxonoccurrence>
66
                        <aggregateoccurrence>
67
                            <count>$individualCount</count>
68
                            <plantobservation>
69
                                <definedvalue fkey="tablerecord_id">
70
                                    <userdefined_id>
71
                                        <userdefined>
72
                                            <tablename>plantobservation</tablename>
73
                                            <userdefinedname>sex</userdefinedname>
74
                                        </userdefined>
75
                                    </userdefined_id>
76
                                    <definedvalue>$sex</definedvalue>
77
                                </definedvalue>
78
                                <specimenreplicate>
79
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
80
                                    <collectioncode_dwc>
81
                                        <_join>
82
                                            <1>$collectionCode</1>
83
                                            <2>$collectionID</2>
84
                                        </_join>
85
                                    </collectioncode_dwc>
86
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
87
                                    <sourceaccessioncode>$id</sourceaccessioncode>
88
                                </specimenreplicate>
89
                            </plantobservation>
90
                        </aggregateoccurrence>
91
                        <sourceaccessioncode>$id</sourceaccessioncode>
92
                        <taxondetermination>
93
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
94
                            <taxonverbatim_id>
95
                                <taxonverbatim>
96
                                    <taxonlabel_id>
97
                                        <taxonlabel>
98
                                            <matched_label_id>
99
                                                <taxonlabel>
100
                                                    <creator_id>
101
                                                        <party>
102
                                                            <creator_id>0</creator_id>
103
                                                            <organizationname>TNRS</organizationname>
104
                                                        </party>
105
                                                    </creator_id>
106
                                                    <taxonomicname>
107
                                                        <_join_words>
108
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
109
                                                            <2>
110
                                                                <_join_words>
111
                                                                    <1>
112
                                                                        <_alt>
113
                                                                            <1>$scientificName</1>
114
                                                                            <2>
115
                                                                                <_join_words>
116
                                                                                    <2>$genus</2>
117
                                                                                    <3>$specificEpithet</3>
118
                                                                                    <5>
119
                                                                                        <_join_words>
120
                                                                                            <1>
121
                                                                                                <_if name="if has infraspecificEpithet">
122
                                                                                                    <cond>$infraspecificEpithet</cond>
123
                                                                                                    <then>$taxonRank</then>
124
                                                                                                </_if>
125
                                                                                            </1>
126
                                                                                            <2>$infraspecificEpithet</2>
127
                                                                                        </_join_words>
128
                                                                                    </5>
129
                                                                                </_join_words>
130
                                                                            </2>
131
                                                                        </_alt>
132
                                                                    </1>
133
                                                                    <2>$scientificNameAuthorship</2>
134
                                                                </_join_words>
135
                                                            </2>
136
                                                        </_join_words>
137
                                                    </taxonomicname>
138
                                                </taxonlabel>
139
                                            </matched_label_id>
140
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
141
                                            <creator_id>
142
                                                <_simplifyPath>
143
                                                    <next>creator_id</next>
144
                                                    <path><party><fullname>$identifiedBy</fullname></party></path>
145
                                                </_simplifyPath>
146
                                            </creator_id>
147
                                            <parent_id>
148
                                                <taxonlabel>
149
                                                    <rank>$taxonRank</rank>
150
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
151
                                                    <parent_id>
152
                                                        <taxonlabel>
153
                                                            <rank>cultivar</rank>
154
                                                            <parent_id>
155
                                                                <taxonlabel>
156
                                                                    <rank>forma</rank>
157
                                                                    <parent_id>
158
                                                                        <taxonlabel>
159
                                                                            <rank>variety</rank>
160
                                                                            <parent_id>
161
                                                                                <taxonlabel>
162
                                                                                    <rank>subspecies</rank>
163
                                                                                    <parent_id>
164
                                                                                        <taxonlabel>
165
                                                                                            <rank>species</rank>
166
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
167
                                                                                            <parent_id>
168
                                                                                                <taxonlabel>
169
                                                                                                    <rank>genus</rank>
170
                                                                                                    <taxonepithet>$genus</taxonepithet>
171
                                                                                                    <parent_id>
172
                                                                                                        <taxonlabel>
173
                                                                                                            <rank>family</rank>
174
                                                                                                            <taxonepithet>$family</taxonepithet>
175
                                                                                                            <parent_id>
176
                                                                                                                <taxonlabel>
177
                                                                                                                    <rank>order</rank>
178
                                                                                                                    <taxonepithet>$order</taxonepithet>
179
                                                                                                                    <parent_id>
180
                                                                                                                        <taxonlabel>
181
                                                                                                                            <rank>class</rank>
182
                                                                                                                            <taxonepithet>$class</taxonepithet>
183
                                                                                                                            <parent_id>
184
                                                                                                                                <taxonlabel>
185
                                                                                                                                    <rank>phylum</rank>
186
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
187
                                                                                                                                    <parent_id>
188
                                                                                                                                        <taxonlabel>
189
                                                                                                                                            <rank>kingdom</rank>
190
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
191
                                                                                                                                        </taxonlabel>
192
                                                                                                                                    </parent_id>
193
                                                                                                                                </taxonlabel>
194
                                                                                                                            </parent_id>
195
                                                                                                                        </taxonlabel>
196
                                                                                                                    </parent_id>
197
                                                                                                                </taxonlabel>
198
                                                                                                            </parent_id>
199
                                                                                                        </taxonlabel>
200
                                                                                                    </parent_id>
201
                                                                                                </taxonlabel>
202
                                                                                            </parent_id>
203
                                                                                        </taxonlabel>
204
                                                                                    </parent_id>
205
                                                                                </taxonlabel>
206
                                                                            </parent_id>
207
                                                                        </taxonlabel>
208
                                                                    </parent_id>
209
                                                                </taxonlabel>
210
                                                            </parent_id>
211
                                                        </taxonlabel>
212
                                                    </parent_id>
213
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
214
                                                </taxonlabel>
215
                                            </parent_id>
216
                                            <rank>$taxonRank</rank>
217
                                            <taxonomicname>
218
                                                <_join_words>
219
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
220
                                                    <2>
221
                                                        <_join_words>
222
                                                            <1>
223
                                                                <_alt>
224
                                                                    <1>$scientificName</1>
225
                                                                    <2>
226
                                                                        <_join_words>
227
                                                                            <2>$genus</2>
228
                                                                            <3>$specificEpithet</3>
229
                                                                            <5>
230
                                                                                <_join_words>
231
                                                                                    <1>
232
                                                                                        <_if name="if has infraspecificEpithet">
233
                                                                                            <cond>$infraspecificEpithet</cond>
234
                                                                                            <then>$taxonRank</then>
235
                                                                                        </_if>
236
                                                                                    </1>
237
                                                                                    <2>$infraspecificEpithet</2>
238
                                                                                </_join_words>
239
                                                                            </5>
240
                                                                        </_join_words>
241
                                                                    </2>
242
                                                                </_alt>
243
                                                            </1>
244
                                                            <2>$scientificNameAuthorship</2>
245
                                                        </_join_words>
246
                                                    </2>
247
                                                </_join_words>
248
                                            </taxonomicname>
249
                                        </taxonlabel>
250
                                    </taxonlabel_id>
251
                                    <author>$scientificNameAuthorship</author>
252
                                    <binomial>$scientificName</binomial>
253
                                    <family>$family</family>
254
                                    <genus>$genus</genus>
255
                                    <specific_epithet>$specificEpithet</specific_epithet>
256
                                    <verbatimrank>$taxonRank</verbatimrank>
257
                                </taxonverbatim>
258
                            </taxonverbatim_id>
259
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
260
                            <taxonfit>$identificationQualifier</taxonfit>
261
                        </taxondetermination>
262
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
263
                    </taxonoccurrence>
264
                </locationevent>
265
                <locationnarrative>
266
                    <_merge>
267
                        <1>$locality</1>
268
                        <3>
269
                            <_label>
270
                                <label>habitat</label>
271
                                <value>$habitat</value>
272
                            </_label>
273
                        </3>
274
                    </_merge>
275
                </locationnarrative>
276
                <locationplace>
277
                    <placepath_id>
278
                        <placepath>
279
                            <continent>$continent</continent>
280
                            <country>$country</country>
281
                            <county>$county</county>
282
                            <stateprovince>$stateProvince</stateprovince>
283
                        </placepath>
284
                    </placepath_id>
285
                </locationplace>
286
                <verbatimelevation>$verbatimElevation</verbatimelevation>
287
            </location>
288
        </path>
289
    </_simplifyPath>
290
</VegBIEN>
291
Inserted 36 new rows into database
(4-4/5)