Project

General

Profile

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