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
                                    <creator_id>
143
                                        <_simplifyPath>
144
                                            <next>creator_id</next>
145
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
146
                                        </_simplifyPath>
147
                                    </creator_id>
148
                                    <family>$Family</family>
149
                                    <genus>$Genus</genus>
150
                                    <parent_id>
151
                                        <taxonlabel>
152
                                            <parent_id>
153
                                                <taxonlabel>
154
                                                    <rank>cultivar</rank>
155
                                                    <parent_id>
156
                                                        <taxonlabel>
157
                                                            <rank>forma</rank>
158
                                                            <parent_id>
159
                                                                <taxonlabel>
160
                                                                    <rank>variety</rank>
161
                                                                    <parent_id>
162
                                                                        <taxonlabel>
163
                                                                            <rank>subspecies</rank>
164
                                                                            <taxonepithet>$Subspecies</taxonepithet>
165
                                                                            <parent_id>
166
                                                                                <taxonlabel>
167
                                                                                    <rank>species</rank>
168
                                                                                    <taxonepithet>$Species</taxonepithet>
169
                                                                                    <parent_id>
170
                                                                                        <taxonlabel>
171
                                                                                            <rank>genus</rank>
172
                                                                                            <taxonepithet>$Genus</taxonepithet>
173
                                                                                            <parent_id>
174
                                                                                                <taxonlabel>
175
                                                                                                    <rank>family</rank>
176
                                                                                                    <taxonepithet>$Family</taxonepithet>
177
                                                                                                    <parent_id>
178
                                                                                                        <taxonlabel>
179
                                                                                                            <rank>order</rank>
180
                                                                                                            <taxonepithet>$Order</taxonepithet>
181
                                                                                                            <parent_id>
182
                                                                                                                <taxonlabel>
183
                                                                                                                    <rank>class</rank>
184
                                                                                                                    <taxonepithet>$Class</taxonepithet>
185
                                                                                                                    <parent_id>
186
                                                                                                                        <taxonlabel>
187
                                                                                                                            <rank>phylum</rank>
188
                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
189
                                                                                                                            <parent_id>
190
                                                                                                                                <taxonlabel>
191
                                                                                                                                    <rank>kingdom</rank>
192
                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
193
                                                                                                                                </taxonlabel>
194
                                                                                                                            </parent_id>
195
                                                                                                                        </taxonlabel>
196
                                                                                                                    </parent_id>
197
                                                                                                                </taxonlabel>
198
                                                                                                            </parent_id>
199
                                                                                                        </taxonlabel>
200
                                                                                                    </parent_id>
201
                                                                                                </taxonlabel>
202
                                                                                            </parent_id>
203
                                                                                        </taxonlabel>
204
                                                                                    </parent_id>
205
                                                                                </taxonlabel>
206
                                                                            </parent_id>
207
                                                                        </taxonlabel>
208
                                                                    </parent_id>
209
                                                                </taxonlabel>
210
                                                            </parent_id>
211
                                                        </taxonlabel>
212
                                                    </parent_id>
213
                                                </taxonlabel>
214
                                            </parent_id>
215
                                        </taxonlabel>
216
                                    </parent_id>
217
                                    <species>$Species</species>
218
                                    <creationdate>
219
                                        <_date>
220
                                            <day>
221
                                                <_nullIf>
222
                                                    <null>0</null>
223
                                                    <type>float</type>
224
                                                    <value>$DayIdentified</value>
225
                                                </_nullIf>
226
                                            </day>
227
                                            <month>
228
                                                <_nullIf>
229
                                                    <null>0</null>
230
                                                    <type>float</type>
231
                                                    <value>$MonthIdentified</value>
232
                                                </_nullIf>
233
                                            </month>
234
                                            <year>
235
                                                <_nullIf>
236
                                                    <null>0</null>
237
                                                    <type>float</type>
238
                                                    <value>$YearIdentified</value>
239
                                                </_nullIf>
240
                                            </year>
241
                                        </_date>
242
                                    </creationdate>
243
                                </taxonlabel>
244
                            </taxonlabel_id>
245
                            <determinationdate>
246
                                <_date>
247
                                    <day>
248
                                        <_nullIf>
249
                                            <null>0</null>
250
                                            <type>float</type>
251
                                            <value>$DayIdentified</value>
252
                                        </_nullIf>
253
                                    </day>
254
                                    <month>
255
                                        <_nullIf>
256
                                            <null>0</null>
257
                                            <type>float</type>
258
                                            <value>$MonthIdentified</value>
259
                                        </_nullIf>
260
                                    </month>
261
                                    <year>
262
                                        <_nullIf>
263
                                            <null>0</null>
264
                                            <type>float</type>
265
                                            <value>$YearIdentified</value>
266
                                        </_nullIf>
267
                                    </year>
268
                                </_date>
269
                            </determinationdate>
270
                        </taxondetermination>
271
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
272
                    </taxonoccurrence>
273
                    <waterdepth_m>
274
                        <_avg>
275
                            <max>$MaximumDepth</max>
276
                            <min>$MinimumDepth</min>
277
                        </_avg>
278
                    </waterdepth_m>
279
                </locationevent>
280
                <locationnarrative>
281
                    <_merge>
282
                        <1>
283
                            <_join>
284
                                <1>$Locality</1>
285
                                <2>
286
                                    <_label>
287
                                        <label>substrate</label>
288
                                        <value>$Substrate</value>
289
                                    </_label>
290
                                </2>
291
                                <3>
292
                                    <_label>
293
                                        <label>vegetation</label>
294
                                        <value>$Vegetation</value>
295
                                    </_label>
296
                                </3>
297
                            </_join>
298
                        </1>
299
                        <3>
300
                            <_label>
301
                                <label>habitat</label>
302
                                <value>$Habitat</value>
303
                            </_label>
304
                        </3>
305
                    </_merge>
306
                </locationnarrative>
307
                <locationplace>
308
                    <placepath_id>
309
                        <placepath>
310
                            <continent>$ContinentOcean</continent>
311
                            <country>$Country</country>
312
                            <county>$County</county>
313
                            <stateprovince>$StateProvince</stateprovince>
314
                        </placepath>
315
                    </placepath_id>
316
                </locationplace>
317
            </location>
318
        </path>
319
    </_simplifyPath>
320
</VegBIEN>
321
Inserted 35 new rows into database
(5-5/6)