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
                                                        <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
68
                                                        <name>$institutionCode</name>
69
                                                    </sourcename>
70
                                                </sourcelist>
71
                                            </institution_id>
72
                                            <sourceaccessioncode>$id</sourceaccessioncode>
73
                                        </specimenreplicate>
74
                                    </plantobservation>
75
                                </aggregateoccurrence>
76
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
77
                                <sourceaccessioncode>$id</sourceaccessioncode>
78
                                <taxondetermination>
79
                                    <taxonverbatim_id>
80
                                        <taxonverbatim>
81
                                            <taxonlabel_id>
82
                                                <taxonlabel>
83
                                                    <matched_label_id>
84
                                                        <taxonlabel>
85
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
86
                                                            <taxonomicname>
87
                                                                <_join_words>
88
                                                                    <1>
89
                                                                        <_taxon_family_require_std>
90
                                                                            <family>
91
                                                                                <_nullIf>
92
                                                                                    <null>$scientificName</null>
93
                                                                                    <value>$family</value>
94
                                                                                </_nullIf>
95
                                                                            </family>
96
                                                                        </_taxon_family_require_std>
97
                                                                    </1>
98
                                                                    <2>
99
                                                                        <_alt>
100
                                                                            <1>$scientificName</1>
101
                                                                            <2>
102
                                                                                <_join_words>
103
                                                                                    <2>$genus</2>
104
                                                                                    <3>$specificEpithet</3>
105
                                                                                </_join_words>
106
                                                                            </2>
107
                                                                        </_alt>
108
                                                                    </2>
109
                                                                </_join_words>
110
                                                            </taxonomicname>
111
                                                        </taxonlabel>
112
                                                    </matched_label_id>
113
                                                    <parent_id>
114
                                                        <taxonlabel>
115
                                                            <parent_id>
116
                                                                <taxonlabel>
117
                                                                    <rank>cultivar</rank>
118
                                                                    <parent_id>
119
                                                                        <taxonlabel>
120
                                                                            <rank>forma</rank>
121
                                                                            <parent_id>
122
                                                                                <taxonlabel>
123
                                                                                    <rank>variety</rank>
124
                                                                                    <parent_id>
125
                                                                                        <taxonlabel>
126
                                                                                            <rank>subspecies</rank>
127
                                                                                            <parent_id>
128
                                                                                                <taxonlabel>
129
                                                                                                    <rank>species</rank>
130
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
131
                                                                                                    <parent_id>
132
                                                                                                        <taxonlabel>
133
                                                                                                            <rank>genus</rank>
134
                                                                                                            <taxonepithet>$genus</taxonepithet>
135
                                                                                                            <parent_id>
136
                                                                                                                <taxonlabel>
137
                                                                                                                    <rank>family</rank>
138
                                                                                                                    <taxonepithet>$family</taxonepithet>
139
                                                                                                                    <parent_id>
140
                                                                                                                        <taxonlabel>
141
                                                                                                                            <rank>order</rank>
142
                                                                                                                            <taxonepithet>$order</taxonepithet>
143
                                                                                                                            <parent_id>
144
                                                                                                                                <taxonlabel>
145
                                                                                                                                    <rank>class</rank>
146
                                                                                                                                    <parent_id>
147
                                                                                                                                        <taxonlabel>
148
                                                                                                                                            <rank>phylum</rank>
149
                                                                                                                                            <parent_id>
150
                                                                                                                                                <taxonlabel>
151
                                                                                                                                                    <rank>kingdom</rank>
152
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
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
                                                                                                </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
                                                    <taxonomicname>
178
                                                        <_join_words>
179
                                                            <1>
180
                                                                <_taxon_family_require_std>
181
                                                                    <family>
182
                                                                        <_nullIf>
183
                                                                            <null>$scientificName</null>
184
                                                                            <value>$family</value>
185
                                                                        </_nullIf>
186
                                                                    </family>
187
                                                                </_taxon_family_require_std>
188
                                                            </1>
189
                                                            <2>
190
                                                                <_alt>
191
                                                                    <1>$scientificName</1>
192
                                                                    <2>
193
                                                                        <_join_words>
194
                                                                            <2>$genus</2>
195
                                                                            <3>$specificEpithet</3>
196
                                                                        </_join_words>
197
                                                                    </2>
198
                                                                </_alt>
199
                                                            </2>
200
                                                        </_join_words>
201
                                                    </taxonomicname>
202
                                                </taxonlabel>
203
                                            </taxonlabel_id>
204
                                            <family>$family</family>
205
                                            <genus>$genus</genus>
206
                                            <specific_epithet>$specificEpithet</specific_epithet>
207
                                            <taxonomicname>$scientificName</taxonomicname>
208
                                        </taxonverbatim>
209
                                    </taxonverbatim_id>
210
                                </taxondetermination>
211
                            </taxonoccurrence>
212
                        </locationevent>
213
                        <locationnarrative>
214
                            <_merge>
215
                                <1>$locality</1>
216
                                <3>
217
                                    <_label>
218
                                        <label>habitat</label>
219
                                        <value>$habitat</value>
220
                                    </_label>
221
                                </3>
222
                            </_merge>
223
                        </locationnarrative>
224
                        <locationplace>
225
                            <place_id>
226
                                <place>
227
                                    <coordinates_id>
228
                                        <coordinates>
229
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
230
                                            <latitude_deg>
231
                                                <_nullIf>
232
                                                    <null>0</null>
233
                                                    <type>float</type>
234
                                                    <value>$decimalLatitude</value>
235
                                                </_nullIf>
236
                                            </latitude_deg>
237
                                            <longitude_deg>
238
                                                <_nullIf>
239
                                                    <null>0</null>
240
                                                    <type>float</type>
241
                                                    <value>$decimalLongitude</value>
242
                                                </_nullIf>
243
                                            </longitude_deg>
244
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
245
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
246
                                        </coordinates>
247
                                    </coordinates_id>
248
                                    <country>$country</country>
249
                                    <county>$county</county>
250
                                    <matched_place_id>
251
                                        <place>
252
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
253
                                            <coordinates_id>
254
                                                <coordinates>
255
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
256
                                                    <latitude_deg>
257
                                                        <_nullIf>
258
                                                            <null>0</null>
259
                                                            <type>float</type>
260
                                                            <value>$decimalLatitude</value>
261
                                                        </_nullIf>
262
                                                    </latitude_deg>
263
                                                    <longitude_deg>
264
                                                        <_nullIf>
265
                                                            <null>0</null>
266
                                                            <type>float</type>
267
                                                            <value>$decimalLongitude</value>
268
                                                        </_nullIf>
269
                                                    </longitude_deg>
270
                                                </coordinates>
271
                                            </coordinates_id>
272
                                            <country>$country</country>
273
                                            <county>$county</county>
274
                                            <stateprovince>$stateProvince</stateprovince>
275
                                        </place>
276
                                    </matched_place_id>
277
                                    <stateprovince>$stateProvince</stateprovince>
278
                                </place>
279
                            </place_id>
280
                        </locationplace>
281
                    </location>
282
                </path>
283
            </_simplifyPath>
284
        </path>
285
    </_setDefault>
286
</VegBIEN>
287
Inserted 39 new rows into database
(5-5/6)