Project

General

Profile

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