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
                            <taxonconcept_id>
111
                                <taxonconcept>
112
                                    <matched_concept_id>
113
                                        <taxonconcept>
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
                                        </taxonconcept>
139
                                    </matched_concept_id>
140
                                    <author>$ScientificNameAuthor</author>
141
                                    <creator_id>
142
                                        <_simplifyPath>
143
                                            <next>creator_id</next>
144
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
145
                                        </_simplifyPath>
146
                                    </creator_id>
147
                                    <family>$Family</family>
148
                                    <genus>$Genus</genus>
149
                                    <parent_id>
150
                                        <taxonconcept>
151
                                            <parent_id>
152
                                                <taxonconcept>
153
                                                    <rank>cultivar</rank>
154
                                                    <parent_id>
155
                                                        <taxonconcept>
156
                                                            <rank>forma</rank>
157
                                                            <parent_id>
158
                                                                <taxonconcept>
159
                                                                    <rank>variety</rank>
160
                                                                    <parent_id>
161
                                                                        <taxonconcept>
162
                                                                            <rank>subspecies</rank>
163
                                                                            <taxonepithet>$Subspecies</taxonepithet>
164
                                                                            <parent_id>
165
                                                                                <taxonconcept>
166
                                                                                    <rank>species</rank>
167
                                                                                    <taxonepithet>$Species</taxonepithet>
168
                                                                                    <parent_id>
169
                                                                                        <taxonconcept>
170
                                                                                            <rank>genus</rank>
171
                                                                                            <taxonepithet>$Genus</taxonepithet>
172
                                                                                            <parent_id>
173
                                                                                                <taxonconcept>
174
                                                                                                    <rank>family</rank>
175
                                                                                                    <taxonepithet>$Family</taxonepithet>
176
                                                                                                    <parent_id>
177
                                                                                                        <taxonconcept>
178
                                                                                                            <rank>order</rank>
179
                                                                                                            <taxonepithet>$Order</taxonepithet>
180
                                                                                                            <parent_id>
181
                                                                                                                <taxonconcept>
182
                                                                                                                    <rank>class</rank>
183
                                                                                                                    <taxonepithet>$Class</taxonepithet>
184
                                                                                                                    <parent_id>
185
                                                                                                                        <taxonconcept>
186
                                                                                                                            <rank>phylum</rank>
187
                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
188
                                                                                                                            <parent_id>
189
                                                                                                                                <taxonconcept>
190
                                                                                                                                    <rank>kingdom</rank>
191
                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
192
                                                                                                                                </taxonconcept>
193
                                                                                                                            </parent_id>
194
                                                                                                                        </taxonconcept>
195
                                                                                                                    </parent_id>
196
                                                                                                                </taxonconcept>
197
                                                                                                            </parent_id>
198
                                                                                                        </taxonconcept>
199
                                                                                                    </parent_id>
200
                                                                                                </taxonconcept>
201
                                                                                            </parent_id>
202
                                                                                        </taxonconcept>
203
                                                                                    </parent_id>
204
                                                                                </taxonconcept>
205
                                                                            </parent_id>
206
                                                                        </taxonconcept>
207
                                                                    </parent_id>
208
                                                                </taxonconcept>
209
                                                            </parent_id>
210
                                                        </taxonconcept>
211
                                                    </parent_id>
212
                                                </taxonconcept>
213
                                            </parent_id>
214
                                        </taxonconcept>
215
                                    </parent_id>
216
                                    <species>$Species</species>
217
                                    <taxonomicname>$ScientificName</taxonomicname>
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
                                </taxonconcept>
244
                            </taxonconcept_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)