Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_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>
20
                    <_avg>
21
                        <max>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26 3984 aaronmk
                                <value>
27
                                    <_replace>
28
                                        <\bca\.?></\bca\.?>
29 4621 aaronmk
                                        <value>$MaximumElevation</value>
30 4043 aaronmk
                                    </_replace>
31 3786 aaronmk
                                </value>
32 4621 aaronmk
                            </_units>
33
                        </max>
34
                        <min>
35
                            <_units>
36
                                <default>m</default>
37
                                <to>m</to>
38
                                <to></to>
39 3786 aaronmk
                                <value>
40 4621 aaronmk
                                    <_rangeStart>
41 3786 aaronmk
                                        <value>
42 4621 aaronmk
                                            <_replace>
43
                                                <\bca\.?></\bca\.?>
44
                                                <value>
45
                                                    <_nullIf>
46
                                                        <null>.</null>
47
                                                        <value>$MinimumElevation</value>
48
                                                    </_nullIf>
49
                                                </value>
50
                                            </_replace>
51 3786 aaronmk
                                        </value>
52 4621 aaronmk
                                    </_rangeStart>
53 3786 aaronmk
                                </value>
54 4621 aaronmk
                            </_units>
55
                        </min>
56
                    </_avg>
57
                </elevation>
58
                <elevationrange>
59
                    <_range>
60
                        <from>
61
                            <_units>
62
                                <default>m</default>
63
                                <to>m</to>
64
                                <to></to>
65
                                <value>
66
                                    <_rangeStart>
67 3786 aaronmk
                                        <value>
68
                                            <_replace>
69
                                                <\bca\.?></\bca\.?>
70
                                                <value>
71
                                                    <_nullIf>
72
                                                        <null>.</null>
73
                                                        <value>$MinimumElevation</value>
74
                                                    </_nullIf>
75
                                                </value>
76
                                            </_replace>
77
                                        </value>
78 4621 aaronmk
                                    </_rangeStart>
79
                                </value>
80
                            </_units>
81
                        </from>
82
                        <to>
83
                            <_units>
84
                                <default>m</default>
85
                                <to>m</to>
86
                                <to></to>
87
                                <value>
88
                                    <_alt>
89
                                        <1>
90
                                            <_replace>
91
                                                <\bca\.?></\bca\.?>
92
                                                <value>$MaximumElevation</value>
93
                                            </_replace>
94
                                        </1>
95
                                        <2>
96
                                            <_rangeEnd>
97
                                                <value>
98
                                                    <_replace>
99
                                                        <\bca\.?></\bca\.?>
100
                                                        <value>
101
                                                            <_nullIf>
102
                                                                <null>.</null>
103
                                                                <value>$MinimumElevation</value>
104
                                                            </_nullIf>
105
                                                        </value>
106
                                                    </_replace>
107
                                                </value>
108
                                            </_rangeEnd>
109
                                        </2>
110
                                    </_alt>
111
                                </value>
112
                            </_units>
113
                        </to>
114
                    </_range>
115
                </elevationrange>
116
                <locationdetermination>
117
                    <coordsaccuracy><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy>
118
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
119
                    <latitude>
120
                        <_nullIf>
121
                            <null>0</null>
122
                            <type>float</type>
123
                            <value>$Latitude</value>
124
                        </_nullIf>
125
                    </latitude>
126
                    <longitude>
127
                        <_nullIf>
128
                            <null>0</null>
129
                            <type>float</type>
130
                            <value>$Longitude</value>
131
                        </_nullIf>
132
                    </longitude>
133
                    <namedplace_id>
134 4622 aaronmk
                        <namedplace>
135
                            <rank>county</rank>
136
                            <placename>$County</placename>
137
                            <parent_id>
138 3786 aaronmk
                                <namedplace>
139 4622 aaronmk
                                    <rank>stateProvince</rank>
140
                                    <placename>$StateProvince</placename>
141 3786 aaronmk
                                    <parent_id>
142
                                        <namedplace>
143 4622 aaronmk
                                            <rank>country</rank>
144
                                            <placename>$Country</placename>
145 3786 aaronmk
                                            <parent_id>
146
                                                <namedplace>
147 4622 aaronmk
                                                    <rank>continent</rank>
148
                                                    <placename>$ContinentOcean</placename>
149 3786 aaronmk
                                                </namedplace>
150
                                            </parent_id>
151
                                        </namedplace>
152
                                    </parent_id>
153
                                </namedplace>
154 4622 aaronmk
                            </parent_id>
155
                        </namedplace>
156 4621 aaronmk
                    </namedplace_id>
157
                </locationdetermination>
158
                <locationevent>
159
                    <taxonoccurrence>
160
                        <aggregateoccurrence>
161
                            <collectiondate>
162
                                <_date>
163
                                    <day>
164
                                        <_nullIf>
165
                                            <null>0</null>
166
                                            <type>float</type>
167
                                            <value>$DayCollected</value>
168
                                        </_nullIf>
169
                                    </day>
170
                                    <month>
171
                                        <_nullIf>
172
                                            <null>0</null>
173
                                            <type>float</type>
174
                                            <value>$MonthCollected</value>
175
                                        </_nullIf>
176
                                    </month>
177
                                    <year>
178
                                        <_nullIf>
179
                                            <null>0</null>
180
                                            <type>float</type>
181
                                            <value>$YearCollected</value>
182
                                        </_nullIf>
183
                                    </year>
184
                                </_date>
185
                            </collectiondate>
186
                            <count>$IndividualCount</count>
187
                            <notes>
188
                                <_merge>
189
                                    <1>$Notes</1>
190
                                    <2>
191
                                        <_label>
192
                                            <label>plant fungus</label>
193
                                            <value>$PlantFungusDescription</value>
194
                                        </_label>
195
                                    </2>
196
                                </_merge>
197
                            </notes>
198
                            <plantobservation>
199
                                <collectionnumber>$FieldNumber</collectionnumber>
200
                                <definedvalue fkey="tablerecord_id">
201
                                    <userdefined_id>
202
                                        <userdefined>
203
                                            <tablename>plantobservation</tablename>
204
                                            <userdefinedname>sex</userdefinedname>
205
                                        </userdefined>
206
                                    </userdefined_id>
207
                                    <definedvalue>$Sex</definedvalue>
208
                                </definedvalue>
209
                                <specimenreplicate>
210
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
211
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
212
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
213
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
214
                                </specimenreplicate>
215
                            </plantobservation>
216
                        </aggregateoccurrence>
217
                        <authortaxoncode>
218
                            <_alt>
219
                                <1>$FieldNumber</1>
220
                                <2>$ScientificName</2>
221
                            </_alt>
222
                        </authortaxoncode>
223
                        <taxondetermination>
224
                            <party_id>
225
                                <party>
226
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
227
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
228
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
229
                                </party>
230
                            </party_id>
231
                            <plantconcept_id>
232
                                <plantconcept>
233
                                    <plantname_id>
234 4622 aaronmk
                                        <plantname>
235
                                            <rank>binomial</rank>
236
                                            <plantname>$ScientificName</plantname>
237
                                            <parent_id>
238 3641 aaronmk
                                                <plantname>
239 4622 aaronmk
                                                    <rank>authority</rank>
240
                                                    <plantname>$ScientificNameAuthor</plantname>
241 3641 aaronmk
                                                    <parent_id>
242
                                                        <plantname>
243 4622 aaronmk
                                                            <rank>subspecies</rank>
244
                                                            <plantname>$Subspecies</plantname>
245 3641 aaronmk
                                                            <parent_id>
246
                                                                <plantname>
247 4622 aaronmk
                                                                    <rank>species</rank>
248
                                                                    <plantname>$Species</plantname>
249 3641 aaronmk
                                                                    <parent_id>
250
                                                                        <plantname>
251 4622 aaronmk
                                                                            <rank>genus</rank>
252
                                                                            <plantname>$Genus</plantname>
253 3641 aaronmk
                                                                            <parent_id>
254
                                                                                <plantname>
255 4622 aaronmk
                                                                                    <rank>family</rank>
256
                                                                                    <plantname>$Family</plantname>
257 3641 aaronmk
                                                                                    <parent_id>
258
                                                                                        <plantname>
259 4622 aaronmk
                                                                                            <rank>order</rank>
260
                                                                                            <plantname>$Order</plantname>
261 3641 aaronmk
                                                                                            <parent_id>
262
                                                                                                <plantname>
263 4622 aaronmk
                                                                                                    <rank>class</rank>
264
                                                                                                    <plantname>$Class</plantname>
265 3641 aaronmk
                                                                                                    <parent_id>
266
                                                                                                        <plantname>
267 4622 aaronmk
                                                                                                            <rank>subkingdom</rank>
268
                                                                                                            <plantname>$Phylum</plantname>
269 3786 aaronmk
                                                                                                            <parent_id>
270
                                                                                                                <plantname>
271 4622 aaronmk
                                                                                                                    <rank>kingdom</rank>
272
                                                                                                                    <plantname>$Kingdom</plantname>
273 3786 aaronmk
                                                                                                                </plantname>
274
                                                                                                            </parent_id>
275 3641 aaronmk
                                                                                                        </plantname>
276
                                                                                                    </parent_id>
277
                                                                                                </plantname>
278
                                                                                            </parent_id>
279
                                                                                        </plantname>
280
                                                                                    </parent_id>
281
                                                                                </plantname>
282
                                                                            </parent_id>
283
                                                                        </plantname>
284
                                                                    </parent_id>
285
                                                                </plantname>
286
                                                            </parent_id>
287
                                                        </plantname>
288
                                                    </parent_id>
289
                                                </plantname>
290 4622 aaronmk
                                            </parent_id>
291
                                        </plantname>
292 4621 aaronmk
                                    </plantname_id>
293
                                </plantconcept>
294
                            </plantconcept_id>
295
                            <determinationdate>
296
                                <_date>
297
                                    <day>
298
                                        <_nullIf>
299
                                            <null>0</null>
300
                                            <type>float</type>
301
                                            <value>$DayIdentified</value>
302
                                        </_nullIf>
303
                                    </day>
304
                                    <month>
305
                                        <_nullIf>
306
                                            <null>0</null>
307
                                            <type>float</type>
308
                                            <value>$MonthIdentified</value>
309
                                        </_nullIf>
310
                                    </month>
311
                                    <year>
312
                                        <_nullIf>
313
                                            <null>0</null>
314
                                            <type>float</type>
315
                                            <value>$YearIdentified</value>
316
                                        </_nullIf>
317
                                    </year>
318
                                </_date>
319
                            </determinationdate>
320
                        </taxondetermination>
321
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
322
                    </taxonoccurrence>
323
                    <waterdepth>
324
                        <_avg>
325
                            <max>
326
                                <_units>
327
                                    <default>m</default>
328
                                    <to>m</to>
329
                                    <to></to>
330
                                    <value>
331
                                        <_replace>
332
                                            <\bca\.?></\bca\.?>
333
                                            <value>$MaximumDepth</value>
334
                                        </_replace>
335
                                    </value>
336
                                </_units>
337
                            </max>
338
                            <min>
339
                                <_units>
340
                                    <default>m</default>
341
                                    <to>m</to>
342
                                    <to></to>
343
                                    <value>
344
                                        <_replace>
345
                                            <\bca\.?></\bca\.?>
346
                                            <value>$MinimumDepth</value>
347
                                        </_replace>
348
                                    </value>
349
                                </_units>
350
                            </min>
351
                        </_avg>
352
                    </waterdepth>
353
                </locationevent>
354
                <locationnarrative>
355 3786 aaronmk
                    <_merge>
356 4621 aaronmk
                        <1>
357
                            <_merge>
358
                                <1>$Locality</1>
359
                                <2>
360
                                    <_label>
361
                                        <label>substrate</label>
362
                                        <value>$Substrate</value>
363
                                    </_label>
364
                                </2>
365
                                <3>
366
                                    <_label>
367
                                        <label>vegetation</label>
368
                                        <value>$Vegetation</value>
369
                                    </_label>
370
                                </3>
371
                            </_merge>
372
                        </1>
373 3786 aaronmk
                        <3>
374
                            <_label>
375 4621 aaronmk
                                <label>habitat</label>
376
                                <value>$Habitat</value>
377 3786 aaronmk
                            </_label>
378
                        </3>
379
                    </_merge>
380 4621 aaronmk
                </locationnarrative>
381
            </location>
382
        </path>
383
    </_simplifyPath>
384 3641 aaronmk
</VegBIEN>
385 3907 aaronmk
Inserted 39 new rows into database