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
                                            <identifyingtaxonomicname>
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
                                            </identifyingtaxonomicname>
132
                                        </taxonlabel>
133
                                    </matched_label_id>
134
                                    <author>$scientificNameAuthorship</author>
135
                                    <binomial>$scientificName</binomial>
136
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
137
                                    <creator_id>
138
                                        <_simplifyPath>
139
                                            <next>creator_id</next>
140
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
141
                                        </_simplifyPath>
142
                                    </creator_id>
143
                                    <family>$family</family>
144
                                    <genus>$genus</genus>
145
                                    <identifyingtaxonomicname>
146
                                        <_join_words>
147
                                            <1>
148
                                                <_alt>
149
                                                    <1>$scientificName</1>
150
                                                    <2>
151
                                                        <_join_words>
152
                                                            <1>$family</1>
153
                                                            <2>$genus</2>
154
                                                            <3>$specificEpithet</3>
155
                                                            <5>
156
                                                                <_join_words>
157
                                                                    <1>
158
                                                                        <_if name="if has infraspecificEpithet">
159
                                                                            <cond>$infraspecificEpithet</cond>
160
                                                                            <then>$taxonRank</then>
161
                                                                        </_if>
162
                                                                    </1>
163
                                                                    <2>$infraspecificEpithet</2>
164
                                                                </_join_words>
165
                                                            </5>
166
                                                        </_join_words>
167
                                                    </2>
168
                                                </_alt>
169
                                            </1>
170
                                            <2>$scientificNameAuthorship</2>
171
                                        </_join_words>
172
                                    </identifyingtaxonomicname>
173
                                    <parent_id>
174
                                        <taxonlabel>
175
                                            <rank>$taxonRank</rank>
176
                                            <verbatimrank>$taxonRank</verbatimrank>
177
                                            <parent_id>
178
                                                <taxonlabel>
179
                                                    <rank>cultivar</rank>
180
                                                    <parent_id>
181
                                                        <taxonlabel>
182
                                                            <rank>forma</rank>
183
                                                            <parent_id>
184
                                                                <taxonlabel>
185
                                                                    <rank>variety</rank>
186
                                                                    <parent_id>
187
                                                                        <taxonlabel>
188
                                                                            <rank>subspecies</rank>
189
                                                                            <parent_id>
190
                                                                                <taxonlabel>
191
                                                                                    <rank>species</rank>
192
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
193
                                                                                    <parent_id>
194
                                                                                        <taxonlabel>
195
                                                                                            <rank>genus</rank>
196
                                                                                            <taxonepithet>$genus</taxonepithet>
197
                                                                                            <parent_id>
198
                                                                                                <taxonlabel>
199
                                                                                                    <rank>family</rank>
200
                                                                                                    <taxonepithet>$family</taxonepithet>
201
                                                                                                    <parent_id>
202
                                                                                                        <taxonlabel>
203
                                                                                                            <rank>order</rank>
204
                                                                                                            <taxonepithet>$order</taxonepithet>
205
                                                                                                            <parent_id>
206
                                                                                                                <taxonlabel>
207
                                                                                                                    <rank>class</rank>
208
                                                                                                                    <taxonepithet>$class</taxonepithet>
209
                                                                                                                    <parent_id>
210
                                                                                                                        <taxonlabel>
211
                                                                                                                            <rank>phylum</rank>
212
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
213
                                                                                                                            <parent_id>
214
                                                                                                                                <taxonlabel>
215
                                                                                                                                    <rank>kingdom</rank>
216
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
217
                                                                                                                                </taxonlabel>
218
                                                                                                                            </parent_id>
219
                                                                                                                        </taxonlabel>
220
                                                                                                                    </parent_id>
221
                                                                                                                </taxonlabel>
222
                                                                                                            </parent_id>
223
                                                                                                        </taxonlabel>
224
                                                                                                    </parent_id>
225
                                                                                                </taxonlabel>
226
                                                                                            </parent_id>
227
                                                                                        </taxonlabel>
228
                                                                                    </parent_id>
229
                                                                                </taxonlabel>
230
                                                                            </parent_id>
231
                                                                        </taxonlabel>
232
                                                                    </parent_id>
233
                                                                </taxonlabel>
234
                                                            </parent_id>
235
                                                        </taxonlabel>
236
                                                    </parent_id>
237
                                                </taxonlabel>
238
                                            </parent_id>
239
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
240
                                        </taxonlabel>
241
                                    </parent_id>
242
                                    <rank>$taxonRank</rank>
243
                                    <species>$specificEpithet</species>
244
                                    <verbatimrank>$taxonRank</verbatimrank>
245
                                </taxonlabel>
246
                            </taxonlabel_id>
247
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
248
                            <taxonfit>$identificationQualifier</taxonfit>
249
                        </taxondetermination>
250
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
251
                    </taxonoccurrence>
252
                </locationevent>
253
                <locationnarrative>
254
                    <_merge>
255
                        <1>$locality</1>
256
                        <3>
257
                            <_label>
258
                                <label>habitat</label>
259
                                <value>$habitat</value>
260
                            </_label>
261
                        </3>
262
                    </_merge>
263
                </locationnarrative>
264
                <locationplace>
265
                    <placepath_id>
266
                        <placepath>
267
                            <continent>$continent</continent>
268
                            <country>$country</country>
269
                            <county>$county</county>
270
                            <stateprovince>$stateProvince</stateprovince>
271
                        </placepath>
272
                    </placepath_id>
273
                </locationplace>
274
                <verbatimelevation>$verbatimElevation</verbatimelevation>
275
            </location>
276
        </path>
277
    </_simplifyPath>
278
</VegBIEN>
279
Inserted 34 new rows into database
(4-4/5)