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
                    <next>parent_id/namedplace</next>
133
                    <require>placename</require>
134
                    <path>
135
                        <namedplace>
136
                            <rank>county</rank>
137
                            <placename>$County</placename>
138
                            <parent_id>
139
                                <namedplace>
140
                                    <rank>stateProvince</rank>
141
                                    <placename>$StateProvince</placename>
142
                                    <parent_id>
143
                                        <namedplace>
144
                                            <rank>country</rank>
145
                                            <placename>$Country</placename>
146
                                            <parent_id>
147
                                                <namedplace>
148
                                                    <rank>continent</rank>
149
                                                    <placename>$ContinentOcean</placename>
150
                                                </namedplace>
151
                                            </parent_id>
152
                                        </namedplace>
153
                                    </parent_id>
154
                                </namedplace>
155
                            </parent_id>
156
                        </namedplace>
157
                    </path>
158
                </_simplifyPath>
159
            </namedplace_id>
160
        </locationdetermination>
161
        <locationevent>
162 3915 aaronmk
            <taxonoccurrence>
163
                <aggregateoccurrence>
164
                    <collectiondate>
165
                        <_date>
166 4566 aaronmk
                            <day>
167
                                <_nullIf>
168
                                    <null>0</null>
169
                                    <type>float</type>
170
                                    <value>$DayCollected</value>
171
                                </_nullIf>
172
                            </day>
173
                            <month>
174
                                <_nullIf>
175
                                    <null>0</null>
176
                                    <type>float</type>
177
                                    <value>$MonthCollected</value>
178
                                </_nullIf>
179
                            </month>
180
                            <year>
181
                                <_nullIf>
182
                                    <null>0</null>
183
                                    <type>float</type>
184
                                    <value>$YearCollected</value>
185
                                </_nullIf>
186
                            </year>
187 3915 aaronmk
                        </_date>
188
                    </collectiondate>
189 3982 aaronmk
                    <count>$IndividualCount</count>
190 3912 aaronmk
                    <notes>
191
                        <_merge>
192
                            <1>$Notes</1>
193
                            <2>
194
                                <_label>
195
                                    <label>plant fungus</label>
196
                                    <value>$PlantFungusDescription</value>
197
                                </_label>
198
                            </2>
199
                        </_merge>
200
                    </notes>
201 3907 aaronmk
                    <plantobservation>
202 4573 aaronmk
                        <collectionnumber>$FieldNumber</collectionnumber>
203 3914 aaronmk
                        <definedvalue fkey="tablerecord_id">
204
                            <userdefined_id>
205
                                <userdefined>
206
                                    <tablename>plantobservation</tablename>
207
                                    <userdefinedname>sex</userdefinedname>
208
                                </userdefined>
209
                            </userdefined_id>
210
                            <definedvalue>$Sex</definedvalue>
211
                        </definedvalue>
212 3907 aaronmk
                        <specimenreplicate>
213 4078 aaronmk
                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
214 4043 aaronmk
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
215 3907 aaronmk
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
216
                            <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
217
                        </specimenreplicate>
218
                    </plantobservation>
219
                </aggregateoccurrence>
220 4072 aaronmk
                <authortaxoncode>
221 4007 aaronmk
                    <_alt>
222 4573 aaronmk
                        <1>$FieldNumber</1>
223 4079 aaronmk
                        <2>$ScientificName</2>
224 4007 aaronmk
                    </_alt>
225 4072 aaronmk
                </authortaxoncode>
226 3786 aaronmk
                <taxondetermination>
227 3979 aaronmk
                    <party_id>
228
                        <party>
229
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
230
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
231
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
232
                        </party>
233
                    </party_id>
234 3786 aaronmk
                    <plantconcept_id>
235
                        <plantconcept>
236
                            <plantname_id>
237
                                <_simplifyPath>
238 4226 aaronmk
                                    <next>parent_id</next>
239 3786 aaronmk
                                    <path>
240 3641 aaronmk
                                        <plantname>
241 3786 aaronmk
                                            <rank>binomial</rank>
242
                                            <plantname>$ScientificName</plantname>
243 3641 aaronmk
                                            <parent_id>
244
                                                <plantname>
245 3786 aaronmk
                                                    <rank>authority</rank>
246
                                                    <plantname>$ScientificNameAuthor</plantname>
247 3641 aaronmk
                                                    <parent_id>
248
                                                        <plantname>
249 3786 aaronmk
                                                            <rank>subspecies</rank>
250
                                                            <plantname>$Subspecies</plantname>
251 3641 aaronmk
                                                            <parent_id>
252
                                                                <plantname>
253 3786 aaronmk
                                                                    <rank>species</rank>
254
                                                                    <plantname>$Species</plantname>
255 3641 aaronmk
                                                                    <parent_id>
256
                                                                        <plantname>
257 3786 aaronmk
                                                                            <rank>genus</rank>
258
                                                                            <plantname>$Genus</plantname>
259 3641 aaronmk
                                                                            <parent_id>
260
                                                                                <plantname>
261 3786 aaronmk
                                                                                    <rank>family</rank>
262
                                                                                    <plantname>$Family</plantname>
263 3641 aaronmk
                                                                                    <parent_id>
264
                                                                                        <plantname>
265 3786 aaronmk
                                                                                            <rank>order</rank>
266
                                                                                            <plantname>$Order</plantname>
267 3641 aaronmk
                                                                                            <parent_id>
268
                                                                                                <plantname>
269 3786 aaronmk
                                                                                                    <rank>class</rank>
270
                                                                                                    <plantname>$Class</plantname>
271 3641 aaronmk
                                                                                                    <parent_id>
272
                                                                                                        <plantname>
273 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
274
                                                                                                            <plantname>$Phylum</plantname>
275
                                                                                                            <parent_id>
276
                                                                                                                <plantname>
277
                                                                                                                    <rank>kingdom</rank>
278
                                                                                                                    <plantname>$Kingdom</plantname>
279
                                                                                                                </plantname>
280
                                                                                                            </parent_id>
281 3641 aaronmk
                                                                                                        </plantname>
282
                                                                                                    </parent_id>
283
                                                                                                </plantname>
284
                                                                                            </parent_id>
285
                                                                                        </plantname>
286
                                                                                    </parent_id>
287
                                                                                </plantname>
288
                                                                            </parent_id>
289
                                                                        </plantname>
290
                                                                    </parent_id>
291
                                                                </plantname>
292
                                                            </parent_id>
293
                                                        </plantname>
294
                                                    </parent_id>
295
                                                </plantname>
296
                                            </parent_id>
297
                                        </plantname>
298 3786 aaronmk
                                    </path>
299
                                </_simplifyPath>
300
                            </plantname_id>
301
                        </plantconcept>
302
                    </plantconcept_id>
303 3980 aaronmk
                    <determinationdate>
304
                        <_date>
305 4560 aaronmk
                            <day>
306
                                <_nullIf>
307
                                    <null>0</null>
308
                                    <type>float</type>
309
                                    <value>$DayIdentified</value>
310
                                </_nullIf>
311
                            </day>
312
                            <month>
313
                                <_nullIf>
314
                                    <null>0</null>
315
                                    <type>float</type>
316
                                    <value>$MonthIdentified</value>
317
                                </_nullIf>
318
                            </month>
319
                            <year>
320
                                <_nullIf>
321
                                    <null>0</null>
322
                                    <type>float</type>
323
                                    <value>$YearIdentified</value>
324
                                </_nullIf>
325
                            </year>
326 3980 aaronmk
                        </_date>
327
                    </determinationdate>
328 3786 aaronmk
                </taxondetermination>
329 3934 aaronmk
                <verbatimcollectorname>$Collector</verbatimcollectorname>
330 3907 aaronmk
            </taxonoccurrence>
331 3786 aaronmk
            <waterdepth>
332
                <_avg>
333
                    <max>
334
                        <_units>
335
                            <default>m</default>
336
                            <to>m</to>
337
                            <to></to>
338 3984 aaronmk
                            <value>
339
                                <_replace>
340
                                    <\bca\.?></\bca\.?>
341
                                    <value>$MaximumDepth</value>
342
                                </_replace>
343
                            </value>
344 3786 aaronmk
                        </_units>
345
                    </max>
346
                    <min>
347
                        <_units>
348
                            <default>m</default>
349
                            <to>m</to>
350
                            <to></to>
351 3984 aaronmk
                            <value>
352
                                <_replace>
353
                                    <\bca\.?></\bca\.?>
354
                                    <value>$MinimumDepth</value>
355
                                </_replace>
356
                            </value>
357 3786 aaronmk
                        </_units>
358
                    </min>
359
                </_avg>
360
            </waterdepth>
361
        </locationevent>
362
        <locationnarrative>
363
            <_merge>
364
                <1>
365
                    <_merge>
366
                        <1>$Locality</1>
367
                        <2>
368
                            <_label>
369
                                <label>substrate</label>
370
                                <value>$Substrate</value>
371
                            </_label>
372
                        </2>
373
                        <3>
374
                            <_label>
375
                                <label>vegetation</label>
376
                                <value>$Vegetation</value>
377
                            </_label>
378
                        </3>
379
                    </_merge>
380
                </1>
381
                <3>
382
                    <_label>
383
                        <label>habitat</label>
384
                        <value>$Habitat</value>
385
                    </_label>
386
                </3>
387
            </_merge>
388
        </locationnarrative>
389
    </location>
390 3641 aaronmk
</VegBIEN>
391 3907 aaronmk
Inserted 39 new rows into database