Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NY</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </authorlocationcode>
17
                        <elevation_m>
18
                            <_avg>
19
                                <1>
20
                                    <_nullIf>
21
                                        <null>.</null>
22
                                        <value>$MinimumElevation</value>
23
                                    </_nullIf>
24
                                </1>
25
                                <2>$MaximumElevation</2>
26
                            </_avg>
27
                        </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
                            <taxonoccurrence>
40
                                <aggregateoccurrence>
41
                                    <collectiondate>
42
                                        <_date>
43
                                            <day>
44
                                                <_nullIf>
45
                                                    <null>0</null>
46
                                                    <type>float</type>
47
                                                    <value>$DayCollected</value>
48
                                                </_nullIf>
49
                                            </day>
50
                                            <month>
51
                                                <_nullIf>
52
                                                    <null>0</null>
53
                                                    <type>float</type>
54
                                                    <value>$MonthCollected</value>
55
                                                </_nullIf>
56
                                            </month>
57
                                            <year>
58
                                                <_nullIf>
59
                                                    <null>0</null>
60
                                                    <type>float</type>
61
                                                    <value>$YearCollected</value>
62
                                                </_nullIf>
63
                                            </year>
64
                                        </_date>
65
                                    </collectiondate>
66
                                    <count>$IndividualCount</count>
67
                                    <notes>$occurrenceRemarks</notes>
68
                                    <plantobservation>
69
                                        <authorplantcode>$FieldNumber</authorplantcode>
70
                                        <definedvalue fkey="tablerecord_id">
71
                                            <userdefined_id>
72
                                                <userdefined>
73
                                                    <tablename>plantobservation</tablename>
74
                                                    <userdefinedname>sex</userdefinedname>
75
                                                </userdefined>
76
                                            </userdefined_id>
77
                                            <definedvalue>$Sex</definedvalue>
78
                                        </definedvalue>
79
                                        <specimenreplicate>
80
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
81
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
82
                                            <collectionnumber>$FieldNumber</collectionnumber>
83
                                            <institution_id>
84
                                                <sourcelist>
85
                                                    <name>$InstitutionCode</name>
86
                                                    <sourcename>
87
                                                        <name>
88
                                                            <_split>
89
                                                                <separator>[,;] *</separator>
90
                                                                <value>$InstitutionCode</value>
91
                                                            </_split>
92
                                                        </name>
93
                                                    </sourcename>
94
                                                </sourcelist>
95
                                            </institution_id>
96
                                        </specimenreplicate>
97
                                    </plantobservation>
98
                                </aggregateoccurrence>
99
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
100
                                <taxondetermination>
101
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
102
                                    <taxonverbatim_id>
103
                                        <taxonverbatim>
104
                                            <taxonlabel_id>
105
                                                <taxonlabel>
106
                                                    <parent_id>
107
                                                        <taxonlabel>
108
                                                            <parent_id>
109
                                                                <taxonlabel>
110
                                                                    <rank>cultivar</rank>
111
                                                                    <parent_id>
112
                                                                        <taxonlabel>
113
                                                                            <rank>forma</rank>
114
                                                                            <parent_id>
115
                                                                                <taxonlabel>
116
                                                                                    <rank>variety</rank>
117
                                                                                    <parent_id>
118
                                                                                        <taxonlabel>
119
                                                                                            <rank>subspecies</rank>
120
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
121
                                                                                            <parent_id>
122
                                                                                                <taxonlabel>
123
                                                                                                    <rank>species</rank>
124
                                                                                                    <taxonepithet>$Species</taxonepithet>
125
                                                                                                    <parent_id>
126
                                                                                                        <taxonlabel>
127
                                                                                                            <rank>genus</rank>
128
                                                                                                            <taxonepithet>$Genus</taxonepithet>
129
                                                                                                            <parent_id>
130
                                                                                                                <taxonlabel>
131
                                                                                                                    <rank>family</rank>
132
                                                                                                                    <taxonepithet>$Family</taxonepithet>
133
                                                                                                                    <parent_id>
134
                                                                                                                        <taxonlabel>
135
                                                                                                                            <rank>order</rank>
136
                                                                                                                            <taxonepithet>$Order</taxonepithet>
137
                                                                                                                            <parent_id>
138
                                                                                                                                <taxonlabel>
139
                                                                                                                                    <rank>class</rank>
140
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
141
                                                                                                                                    <parent_id>
142
                                                                                                                                        <taxonlabel>
143
                                                                                                                                            <rank>phylum</rank>
144
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
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
                                                        <_merge_prefix>
175
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
176
                                                            <value>
177
                                                                <_join_words>
178
                                                                    <1>
179
                                                                        <_alt>
180
                                                                            <1>$ScientificName</1>
181
                                                                            <2>
182
                                                                                <_join_words>
183
                                                                                    <2><_filter_genus><value>$Genus</value></_filter_genus></2>
184
                                                                                    <3>$Species</3>
185
                                                                                    <4>$Subspecies</4>
186
                                                                                </_join_words>
187
                                                                            </2>
188
                                                                        </_alt>
189
                                                                    </1>
190
                                                                    <2>$ScientificNameAuthor</2>
191
                                                                </_join_words>
192
                                                            </value>
193
                                                        </_merge_prefix>
194
                                                    </taxonomicname>
195
                                                </taxonlabel>
196
                                            </taxonlabel_id>
197
                                            <author>$ScientificNameAuthor</author>
198
                                            <family>$Family</family>
199
                                            <genus>$Genus</genus>
200
                                            <specific_epithet>$Species</specific_epithet>
201
                                            <taxonname>$ScientificName</taxonname>
202
                                        </taxonverbatim>
203
                                    </taxonverbatim_id>
204
                                    <determinationdate>
205
                                        <_date>
206
                                            <day>
207
                                                <_nullIf>
208
                                                    <null>0</null>
209
                                                    <type>float</type>
210
                                                    <value>$DayIdentified</value>
211
                                                </_nullIf>
212
                                            </day>
213
                                            <month>
214
                                                <_nullIf>
215
                                                    <null>0</null>
216
                                                    <type>float</type>
217
                                                    <value>$MonthIdentified</value>
218
                                                </_nullIf>
219
                                            </month>
220
                                            <year>
221
                                                <_nullIf>
222
                                                    <null>0</null>
223
                                                    <type>float</type>
224
                                                    <value>$YearIdentified</value>
225
                                                </_nullIf>
226
                                            </year>
227
                                        </_date>
228
                                    </determinationdate>
229
                                </taxondetermination>
230
                            </taxonoccurrence>
231
                            <waterdepth_m>
232
                                <_avg>
233
                                    <1>$MinimumDepth</1>
234
                                    <2>$MaximumDepth</2>
235
                                </_avg>
236
                            </waterdepth_m>
237
                        </locationevent>
238
                        <locationnarrative>
239
                            <_merge>
240
                                <1>$locality</1>
241
                                <3>
242
                                    <_label>
243
                                        <label>habitat</label>
244
                                        <value>$Habitat</value>
245
                                    </_label>
246
                                </3>
247
                            </_merge>
248
                        </locationnarrative>
249
                        <locationplace>
250
                            <place_id>
251
                                <place>
252
                                    <coordinates_id>
253
                                        <coordinates>
254
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
255
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
256
                                            <latitude_deg>
257
                                                <_nullIf>
258
                                                    <null>0</null>
259
                                                    <type>float</type>
260
                                                    <value>$Latitude</value>
261
                                                </_nullIf>
262
                                            </latitude_deg>
263
                                            <longitude_deg>
264
                                                <_nullIf>
265
                                                    <null>0</null>
266
                                                    <type>float</type>
267
                                                    <value>$Longitude</value>
268
                                                </_nullIf>
269
                                            </longitude_deg>
270
                                        </coordinates>
271
                                    </coordinates_id>
272
                                    <continent>$ContinentOcean</continent>
273
                                    <country>$Country</country>
274
                                    <county>$County</county>
275
                                    <matched_place_id>
276
                                        <place>
277
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
278
                                            <coordinates_id>
279
                                                <coordinates>
280
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
281
                                                    <latitude_deg>
282
                                                        <_nullIf>
283
                                                            <null>0</null>
284
                                                            <type>float</type>
285
                                                            <value>$Latitude</value>
286
                                                        </_nullIf>
287
                                                    </latitude_deg>
288
                                                    <longitude_deg>
289
                                                        <_nullIf>
290
                                                            <null>0</null>
291
                                                            <type>float</type>
292
                                                            <value>$Longitude</value>
293
                                                        </_nullIf>
294
                                                    </longitude_deg>
295
                                                </coordinates>
296
                                            </coordinates_id>
297
                                            <country>$Country</country>
298
                                            <county>$County</county>
299
                                            <stateprovince>$StateProvince</stateprovince>
300
                                        </place>
301
                                    </matched_place_id>
302
                                    <stateprovince>$StateProvince</stateprovince>
303
                                </place>
304
                            </place_id>
305
                        </locationplace>
306
                    </location>
307
                </path>
308
            </_simplifyPath>
309
        </path>
310
    </_setDefault>
311
</VegBIEN>
312
Inserted 47 new rows into database
(8-8/9)