Project

General

Profile

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