Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$UniqueNYInternalRecordNumber</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </2>
17
                    </_alt>
18
                </authorlocationcode>
19
                <elevation_m>
20
                    <_avg>
21
                        <max>$MaximumElevation</max>
22
                        <min>
23
                            <_nullIf>
24
                                <null>.</null>
25
                                <value>$MinimumElevation</value>
26
                            </_nullIf>
27
                        </min>
28
                    </_avg>
29
                </elevation_m>
30
                <locationcoords>
31
                    <coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_deg>
32
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
33
                    <latitude_deg>
34
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$Latitude</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$Longitude</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <collectiondate>
52
                                <_date>
53
                                    <day>
54
                                        <_nullIf>
55
                                            <null>0</null>
56
                                            <type>float</type>
57
                                            <value>$DayCollected</value>
58
                                        </_nullIf>
59
                                    </day>
60
                                    <month>
61
                                        <_nullIf>
62
                                            <null>0</null>
63
                                            <type>float</type>
64
                                            <value>$MonthCollected</value>
65
                                        </_nullIf>
66
                                    </month>
67
                                    <year>
68
                                        <_nullIf>
69
                                            <null>0</null>
70
                                            <type>float</type>
71
                                            <value>$YearCollected</value>
72
                                        </_nullIf>
73
                                    </year>
74
                                </_date>
75
                            </collectiondate>
76
                            <count>$IndividualCount</count>
77
                            <notes>
78
                                <_join>
79
                                    <1>$Notes</1>
80
                                    <2>
81
                                        <_label>
82
                                            <label>plant fungus</label>
83
                                            <value>$PlantFungusDescription</value>
84
                                        </_label>
85
                                    </2>
86
                                </_join>
87
                            </notes>
88
                            <plantobservation>
89
                                <collectionnumber>$FieldNumber</collectionnumber>
90
                                <definedvalue fkey="tablerecord_id">
91
                                    <userdefined_id>
92
                                        <userdefined>
93
                                            <tablename>plantobservation</tablename>
94
                                            <userdefinedname>sex</userdefinedname>
95
                                        </userdefined>
96
                                    </userdefined_id>
97
                                    <definedvalue>$Sex</definedvalue>
98
                                </definedvalue>
99
                                <specimenreplicate>
100
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
101
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
102
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
103
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
104
                                </specimenreplicate>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
108
                        <taxondetermination>
109
                            <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
110
                            <taxonlabel_id>
111
                                <taxonlabel>
112
                                    <matched_label_id>
113
                                        <taxonlabel>
114
                                            <creator_id>
115
                                                <party>
116
                                                    <creator_id>0</creator_id>
117
                                                    <organizationname>TNRS</organizationname>
118
                                                </party>
119
                                            </creator_id>
120
                                            <identifyingtaxonomicname>
121
                                                <_join_words>
122
                                                    <1>
123
                                                        <_alt>
124
                                                            <1>$ScientificName</1>
125
                                                            <2>
126
                                                                <_join_words>
127
                                                                    <1>$Family</1>
128
                                                                    <2>$Genus</2>
129
                                                                    <3>$Species</3>
130
                                                                    <4>$Subspecies</4>
131
                                                                </_join_words>
132
                                                            </2>
133
                                                        </_alt>
134
                                                    </1>
135
                                                    <2>$ScientificNameAuthor</2>
136
                                                </_join_words>
137
                                            </identifyingtaxonomicname>
138
                                        </taxonlabel>
139
                                    </matched_label_id>
140
                                    <author>$ScientificNameAuthor</author>
141
                                    <binomial>$ScientificName</binomial>
142
                                    <creationdate>
143
                                        <_date>
144
                                            <day>
145
                                                <_nullIf>
146
                                                    <null>0</null>
147
                                                    <type>float</type>
148
                                                    <value>$DayIdentified</value>
149
                                                </_nullIf>
150
                                            </day>
151
                                            <month>
152
                                                <_nullIf>
153
                                                    <null>0</null>
154
                                                    <type>float</type>
155
                                                    <value>$MonthIdentified</value>
156
                                                </_nullIf>
157
                                            </month>
158
                                            <year>
159
                                                <_nullIf>
160
                                                    <null>0</null>
161
                                                    <type>float</type>
162
                                                    <value>$YearIdentified</value>
163
                                                </_nullIf>
164
                                            </year>
165
                                        </_date>
166
                                    </creationdate>
167
                                    <creator_id>
168
                                        <_simplifyPath>
169
                                            <next>creator_id</next>
170
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
171
                                        </_simplifyPath>
172
                                    </creator_id>
173
                                    <family>$Family</family>
174
                                    <genus>$Genus</genus>
175
                                    <identifyingtaxonomicname>
176
                                        <_join_words>
177
                                            <1>
178
                                                <_alt>
179
                                                    <1>$ScientificName</1>
180
                                                    <2>
181
                                                        <_join_words>
182
                                                            <1>$Family</1>
183
                                                            <2>$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
                                    </identifyingtaxonomicname>
193
                                    <parent_id>
194
                                        <taxonlabel>
195
                                            <parent_id>
196
                                                <taxonlabel>
197
                                                    <rank>cultivar</rank>
198
                                                    <parent_id>
199
                                                        <taxonlabel>
200
                                                            <rank>forma</rank>
201
                                                            <parent_id>
202
                                                                <taxonlabel>
203
                                                                    <rank>variety</rank>
204
                                                                    <parent_id>
205
                                                                        <taxonlabel>
206
                                                                            <rank>subspecies</rank>
207
                                                                            <taxonepithet>$Subspecies</taxonepithet>
208
                                                                            <parent_id>
209
                                                                                <taxonlabel>
210
                                                                                    <rank>species</rank>
211
                                                                                    <taxonepithet>$Species</taxonepithet>
212
                                                                                    <parent_id>
213
                                                                                        <taxonlabel>
214
                                                                                            <rank>genus</rank>
215
                                                                                            <taxonepithet>$Genus</taxonepithet>
216
                                                                                            <parent_id>
217
                                                                                                <taxonlabel>
218
                                                                                                    <rank>family</rank>
219
                                                                                                    <taxonepithet>$Family</taxonepithet>
220
                                                                                                    <parent_id>
221
                                                                                                        <taxonlabel>
222
                                                                                                            <rank>order</rank>
223
                                                                                                            <taxonepithet>$Order</taxonepithet>
224
                                                                                                            <parent_id>
225
                                                                                                                <taxonlabel>
226
                                                                                                                    <rank>class</rank>
227
                                                                                                                    <taxonepithet>$Class</taxonepithet>
228
                                                                                                                    <parent_id>
229
                                                                                                                        <taxonlabel>
230
                                                                                                                            <rank>phylum</rank>
231
                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
232
                                                                                                                            <parent_id>
233
                                                                                                                                <taxonlabel>
234
                                                                                                                                    <rank>kingdom</rank>
235
                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
236
                                                                                                                                </taxonlabel>
237
                                                                                                                            </parent_id>
238
                                                                                                                        </taxonlabel>
239
                                                                                                                    </parent_id>
240
                                                                                                                </taxonlabel>
241
                                                                                                            </parent_id>
242
                                                                                                        </taxonlabel>
243
                                                                                                    </parent_id>
244
                                                                                                </taxonlabel>
245
                                                                                            </parent_id>
246
                                                                                        </taxonlabel>
247
                                                                                    </parent_id>
248
                                                                                </taxonlabel>
249
                                                                            </parent_id>
250
                                                                        </taxonlabel>
251
                                                                    </parent_id>
252
                                                                </taxonlabel>
253
                                                            </parent_id>
254
                                                        </taxonlabel>
255
                                                    </parent_id>
256
                                                </taxonlabel>
257
                                            </parent_id>
258
                                        </taxonlabel>
259
                                    </parent_id>
260
                                    <species>$Species</species>
261
                                </taxonlabel>
262
                            </taxonlabel_id>
263
                            <determinationdate>
264
                                <_date>
265
                                    <day>
266
                                        <_nullIf>
267
                                            <null>0</null>
268
                                            <type>float</type>
269
                                            <value>$DayIdentified</value>
270
                                        </_nullIf>
271
                                    </day>
272
                                    <month>
273
                                        <_nullIf>
274
                                            <null>0</null>
275
                                            <type>float</type>
276
                                            <value>$MonthIdentified</value>
277
                                        </_nullIf>
278
                                    </month>
279
                                    <year>
280
                                        <_nullIf>
281
                                            <null>0</null>
282
                                            <type>float</type>
283
                                            <value>$YearIdentified</value>
284
                                        </_nullIf>
285
                                    </year>
286
                                </_date>
287
                            </determinationdate>
288
                        </taxondetermination>
289
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
290
                    </taxonoccurrence>
291
                    <waterdepth_m>
292
                        <_avg>
293
                            <max>$MaximumDepth</max>
294
                            <min>$MinimumDepth</min>
295
                        </_avg>
296
                    </waterdepth_m>
297
                </locationevent>
298
                <locationnarrative>
299
                    <_merge>
300
                        <1>
301
                            <_join>
302
                                <1>$Locality</1>
303
                                <2>
304
                                    <_label>
305
                                        <label>substrate</label>
306
                                        <value>$Substrate</value>
307
                                    </_label>
308
                                </2>
309
                                <3>
310
                                    <_label>
311
                                        <label>vegetation</label>
312
                                        <value>$Vegetation</value>
313
                                    </_label>
314
                                </3>
315
                            </_join>
316
                        </1>
317
                        <3>
318
                            <_label>
319
                                <label>habitat</label>
320
                                <value>$Habitat</value>
321
                            </_label>
322
                        </3>
323
                    </_merge>
324
                </locationnarrative>
325
                <locationplace>
326
                    <placepath_id>
327
                        <placepath>
328
                            <continent>$ContinentOcean</continent>
329
                            <country>$Country</country>
330
                            <county>$County</county>
331
                            <stateprovince>$StateProvince</stateprovince>
332
                        </placepath>
333
                    </placepath_id>
334
                </locationplace>
335
            </location>
336
        </path>
337
    </_simplifyPath>
338
</VegBIEN>
339
Inserted 35 new rows into database
(5-5/6)