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
                            <taxonlabel_id>
95
                                <taxonlabel>
96
                                    <matched_label_id>
97
                                        <taxonlabel>
98
                                            <creator_id>
99
                                                <party>
100
                                                    <creator_id>0</creator_id>
101
                                                    <organizationname>TNRS</organizationname>
102
                                                </party>
103
                                            </creator_id>
104
                                            <taxonomicname>
105
                                                <_join_words>
106
                                                    <1>
107
                                                        <_alt>
108
                                                            <1>$scientificName</1>
109
                                                            <2>
110
                                                                <_join_words>
111
                                                                    <1>$family</1>
112
                                                                    <2>$genus</2>
113
                                                                    <3>$specificEpithet</3>
114
                                                                    <5>
115
                                                                        <_join_words>
116
                                                                            <1>
117
                                                                                <_if name="if has infraspecificEpithet">
118
                                                                                    <cond>$infraspecificEpithet</cond>
119
                                                                                    <then>$taxonRank</then>
120
                                                                                </_if>
121
                                                                            </1>
122
                                                                            <2>$infraspecificEpithet</2>
123
                                                                        </_join_words>
124
                                                                    </5>
125
                                                                </_join_words>
126
                                                            </2>
127
                                                        </_alt>
128
                                                    </1>
129
                                                    <2>$scientificNameAuthorship</2>
130
                                                </_join_words>
131
                                            </taxonomicname>
132
                                        </taxonlabel>
133
                                    </matched_label_id>
134
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
135
                                    <creator_id>
136
                                        <_simplifyPath>
137
                                            <next>creator_id</next>
138
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
139
                                        </_simplifyPath>
140
                                    </creator_id>
141
                                    <parent_id>
142
                                        <taxonlabel>
143
                                            <rank>$taxonRank</rank>
144
                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
145
                                            <parent_id>
146
                                                <taxonlabel>
147
                                                    <rank>cultivar</rank>
148
                                                    <parent_id>
149
                                                        <taxonlabel>
150
                                                            <rank>forma</rank>
151
                                                            <parent_id>
152
                                                                <taxonlabel>
153
                                                                    <rank>variety</rank>
154
                                                                    <parent_id>
155
                                                                        <taxonlabel>
156
                                                                            <rank>subspecies</rank>
157
                                                                            <parent_id>
158
                                                                                <taxonlabel>
159
                                                                                    <rank>species</rank>
160
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
161
                                                                                    <parent_id>
162
                                                                                        <taxonlabel>
163
                                                                                            <rank>genus</rank>
164
                                                                                            <taxonepithet>$genus</taxonepithet>
165
                                                                                            <parent_id>
166
                                                                                                <taxonlabel>
167
                                                                                                    <rank>family</rank>
168
                                                                                                    <taxonepithet>$family</taxonepithet>
169
                                                                                                    <parent_id>
170
                                                                                                        <taxonlabel>
171
                                                                                                            <rank>order</rank>
172
                                                                                                            <taxonepithet>$order</taxonepithet>
173
                                                                                                            <parent_id>
174
                                                                                                                <taxonlabel>
175
                                                                                                                    <rank>class</rank>
176
                                                                                                                    <taxonepithet>$class</taxonepithet>
177
                                                                                                                    <parent_id>
178
                                                                                                                        <taxonlabel>
179
                                                                                                                            <rank>phylum</rank>
180
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
181
                                                                                                                            <parent_id>
182
                                                                                                                                <taxonlabel>
183
                                                                                                                                    <rank>kingdom</rank>
184
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
185
                                                                                                                                </taxonlabel>
186
                                                                                                                            </parent_id>
187
                                                                                                                        </taxonlabel>
188
                                                                                                                    </parent_id>
189
                                                                                                                </taxonlabel>
190
                                                                                                            </parent_id>
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
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
208
                                        </taxonlabel>
209
                                    </parent_id>
210
                                    <rank>$taxonRank</rank>
211
                                    <taxonomicname>
212
                                        <_join_words>
213
                                            <1>
214
                                                <_alt>
215
                                                    <1>$scientificName</1>
216
                                                    <2>
217
                                                        <_join_words>
218
                                                            <1>$family</1>
219
                                                            <2>$genus</2>
220
                                                            <3>$specificEpithet</3>
221
                                                            <5>
222
                                                                <_join_words>
223
                                                                    <1>
224
                                                                        <_if name="if has infraspecificEpithet">
225
                                                                            <cond>$infraspecificEpithet</cond>
226
                                                                            <then>$taxonRank</then>
227
                                                                        </_if>
228
                                                                    </1>
229
                                                                    <2>$infraspecificEpithet</2>
230
                                                                </_join_words>
231
                                                            </5>
232
                                                        </_join_words>
233
                                                    </2>
234
                                                </_alt>
235
                                            </1>
236
                                            <2>$scientificNameAuthorship</2>
237
                                        </_join_words>
238
                                    </taxonomicname>
239
                                    <taxonverbatim>
240
                                        <author>$scientificNameAuthorship</author>
241
                                        <binomial>$scientificName</binomial>
242
                                        <family>$family</family>
243
                                        <genus>$genus</genus>
244
                                        <species>$specificEpithet</species>
245
                                        <verbatimrank>$taxonRank</verbatimrank>
246
                                    </taxonverbatim>
247
                                </taxonlabel>
248
                            </taxonlabel_id>
249
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
250
                            <taxonfit>$identificationQualifier</taxonfit>
251
                        </taxondetermination>
252
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
253
                    </taxonoccurrence>
254
                </locationevent>
255
                <locationnarrative>
256
                    <_merge>
257
                        <1>$locality</1>
258
                        <3>
259
                            <_label>
260
                                <label>habitat</label>
261
                                <value>$habitat</value>
262
                            </_label>
263
                        </3>
264
                    </_merge>
265
                </locationnarrative>
266
                <locationplace>
267
                    <placepath_id>
268
                        <placepath>
269
                            <continent>$continent</continent>
270
                            <country>$country</country>
271
                            <county>$county</county>
272
                            <stateprovince>$stateProvince</stateprovince>
273
                        </placepath>
274
                    </placepath_id>
275
                </locationplace>
276
                <verbatimelevation>$verbatimElevation</verbatimelevation>
277
            </location>
278
        </path>
279
    </_simplifyPath>
280
</VegBIEN>
281
Inserted 36 new rows into database
(4-4/5)