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