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
                                                                <_merge_prefix>
92
                                                                    <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
93
                                                                    <value>
94
                                                                        <_alt>
95
                                                                            <1>$scientificName</1>
96
                                                                            <2>
97
                                                                                <_join_words>
98
                                                                                    <2>$genus</2>
99
                                                                                    <3>$specificEpithet</3>
100
                                                                                </_join_words>
101
                                                                            </2>
102
                                                                        </_alt>
103
                                                                    </value>
104
                                                                </_merge_prefix>
105
                                                            </taxonomicname>
106
                                                        </taxonlabel>
107
                                                    </matched_label_id>
108
                                                    <parent_id>
109
                                                        <taxonlabel>
110
                                                            <parent_id>
111
                                                                <taxonlabel>
112
                                                                    <rank>cultivar</rank>
113
                                                                    <parent_id>
114
                                                                        <taxonlabel>
115
                                                                            <rank>forma</rank>
116
                                                                            <parent_id>
117
                                                                                <taxonlabel>
118
                                                                                    <rank>variety</rank>
119
                                                                                    <parent_id>
120
                                                                                        <taxonlabel>
121
                                                                                            <rank>subspecies</rank>
122
                                                                                            <parent_id>
123
                                                                                                <taxonlabel>
124
                                                                                                    <rank>species</rank>
125
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
126
                                                                                                    <parent_id>
127
                                                                                                        <taxonlabel>
128
                                                                                                            <rank>genus</rank>
129
                                                                                                            <taxonepithet>$genus</taxonepithet>
130
                                                                                                            <parent_id>
131
                                                                                                                <taxonlabel>
132
                                                                                                                    <rank>family</rank>
133
                                                                                                                    <taxonepithet>$family</taxonepithet>
134
                                                                                                                    <parent_id>
135
                                                                                                                        <taxonlabel>
136
                                                                                                                            <rank>order</rank>
137
                                                                                                                            <taxonepithet>$order</taxonepithet>
138
                                                                                                                            <parent_id>
139
                                                                                                                                <taxonlabel>
140
                                                                                                                                    <rank>class</rank>
141
                                                                                                                                    <parent_id>
142
                                                                                                                                        <taxonlabel>
143
                                                                                                                                            <rank>phylum</rank>
144
                                                                                                                                            <parent_id>
145
                                                                                                                                                <taxonlabel>
146
                                                                                                                                                    <rank>kingdom</rank>
147
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
148
                                                                                                                                                </taxonlabel>
149
                                                                                                                                            </parent_id>
150
                                                                                                                                        </taxonlabel>
151
                                                                                                                                    </parent_id>
152
                                                                                                                                </taxonlabel>
153
                                                                                                                            </parent_id>
154
                                                                                                                        </taxonlabel>
155
                                                                                                                    </parent_id>
156
                                                                                                                </taxonlabel>
157
                                                                                                            </parent_id>
158
                                                                                                        </taxonlabel>
159
                                                                                                    </parent_id>
160
                                                                                                </taxonlabel>
161
                                                                                            </parent_id>
162
                                                                                        </taxonlabel>
163
                                                                                    </parent_id>
164
                                                                                </taxonlabel>
165
                                                                            </parent_id>
166
                                                                        </taxonlabel>
167
                                                                    </parent_id>
168
                                                                </taxonlabel>
169
                                                            </parent_id>
170
                                                        </taxonlabel>
171
                                                    </parent_id>
172
                                                    <taxonomicname>
173
                                                        <_merge_prefix>
174
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
175
                                                            <value>
176
                                                                <_alt>
177
                                                                    <1>$scientificName</1>
178
                                                                    <2>
179
                                                                        <_join_words>
180
                                                                            <2>$genus</2>
181
                                                                            <3>$specificEpithet</3>
182
                                                                        </_join_words>
183
                                                                    </2>
184
                                                                </_alt>
185
                                                            </value>
186
                                                        </_merge_prefix>
187
                                                    </taxonomicname>
188
                                                </taxonlabel>
189
                                            </taxonlabel_id>
190
                                            <family>$family</family>
191
                                            <genus>$genus</genus>
192
                                            <specific_epithet>$specificEpithet</specific_epithet>
193
                                            <taxonomicname>$scientificName</taxonomicname>
194
                                        </taxonverbatim>
195
                                    </taxonverbatim_id>
196
                                </taxondetermination>
197
                            </taxonoccurrence>
198
                        </locationevent>
199
                        <locationnarrative>
200
                            <_merge>
201
                                <1>$locality</1>
202
                                <3>
203
                                    <_label>
204
                                        <label>habitat</label>
205
                                        <value>$habitat</value>
206
                                    </_label>
207
                                </3>
208
                            </_merge>
209
                        </locationnarrative>
210
                        <locationplace>
211
                            <place_id>
212
                                <place>
213
                                    <coordinates_id>
214
                                        <coordinates>
215
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
216
                                            <latitude_deg>
217
                                                <_nullIf>
218
                                                    <null>0</null>
219
                                                    <type>float</type>
220
                                                    <value>$decimalLatitude</value>
221
                                                </_nullIf>
222
                                            </latitude_deg>
223
                                            <longitude_deg>
224
                                                <_nullIf>
225
                                                    <null>0</null>
226
                                                    <type>float</type>
227
                                                    <value>$decimalLongitude</value>
228
                                                </_nullIf>
229
                                            </longitude_deg>
230
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
231
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
232
                                        </coordinates>
233
                                    </coordinates_id>
234
                                    <country>$country</country>
235
                                    <county>$county</county>
236
                                    <matched_place_id>
237
                                        <place>
238
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
239
                                            <coordinates_id>
240
                                                <coordinates>
241
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
242
                                                    <latitude_deg>
243
                                                        <_nullIf>
244
                                                            <null>0</null>
245
                                                            <type>float</type>
246
                                                            <value>$decimalLatitude</value>
247
                                                        </_nullIf>
248
                                                    </latitude_deg>
249
                                                    <longitude_deg>
250
                                                        <_nullIf>
251
                                                            <null>0</null>
252
                                                            <type>float</type>
253
                                                            <value>$decimalLongitude</value>
254
                                                        </_nullIf>
255
                                                    </longitude_deg>
256
                                                </coordinates>
257
                                            </coordinates_id>
258
                                            <country>$country</country>
259
                                            <county>$county</county>
260
                                            <stateprovince>$stateProvince</stateprovince>
261
                                        </place>
262
                                    </matched_place_id>
263
                                    <stateprovince>$stateProvince</stateprovince>
264
                                </place>
265
                            </place_id>
266
                        </locationplace>
267
                    </location>
268
                </path>
269
            </_simplifyPath>
270
        </path>
271
    </_setDefault>
272
</VegBIEN>
273
Inserted 38 new rows into database
(4-4/5)