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