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>
20
                    <_avg>
21
                        <max>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26
                                <value>
27
                                    <_replace>
28
                                        <\bca\.?></\bca\.?>
29
                                        <value>$MaximumElevation</value>
30
                                    </_replace>
31
                                </value>
32
                            </_units>
33
                        </max>
34
                        <min>
35
                            <_units>
36
                                <default>m</default>
37
                                <to>m</to>
38
                                <to></to>
39
                                <value>
40
                                    <_rangeStart>
41
                                        <value>
42
                                            <_replace>
43
                                                <\bca\.?></\bca\.?>
44
                                                <value>
45
                                                    <_nullIf>
46
                                                        <null>.</null>
47
                                                        <value>$MinimumElevation</value>
48
                                                    </_nullIf>
49
                                                </value>
50
                                            </_replace>
51
                                        </value>
52
                                    </_rangeStart>
53
                                </value>
54
                            </_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
                                        <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
                                    </_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
                        <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
                    </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
                                <_join>
189
                                    <1>$Notes</1>
190
                                    <2>
191
                                        <_label>
192
                                            <label>plant fungus</label>
193
                                            <value>$PlantFungusDescription</value>
194
                                        </_label>
195
                                    </2>
196
                                </_join>
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
                                    <class>$Class</class>
234
                                    <family>$Family</family>
235
                                    <genus>$Genus</genus>
236
                                    <kingdom>$Kingdom</kingdom>
237
                                    <order>$Order</order>
238
                                    <phylum>$Phylum</phylum>
239
                                    <scientificname>$ScientificName</scientificname>
240
                                    <scientificnameauthor>$ScientificNameAuthor</scientificnameauthor>
241
                                    <species>$Species</species>
242
                                    <subspecies>$Subspecies</subspecies>
243
                                </plantconcept>
244
                            </plantconcept_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>
274
                        <_avg>
275
                            <max>
276
                                <_units>
277
                                    <default>m</default>
278
                                    <to>m</to>
279
                                    <to></to>
280
                                    <value>
281
                                        <_replace>
282
                                            <\bca\.?></\bca\.?>
283
                                            <value>$MaximumDepth</value>
284
                                        </_replace>
285
                                    </value>
286
                                </_units>
287
                            </max>
288
                            <min>
289
                                <_units>
290
                                    <default>m</default>
291
                                    <to>m</to>
292
                                    <to></to>
293
                                    <value>
294
                                        <_replace>
295
                                            <\bca\.?></\bca\.?>
296
                                            <value>$MinimumDepth</value>
297
                                        </_replace>
298
                                    </value>
299
                                </_units>
300
                            </min>
301
                        </_avg>
302
                    </waterdepth>
303
                </locationevent>
304
                <locationnarrative>
305
                    <_merge>
306
                        <1>
307
                            <_join>
308
                                <1>$Locality</1>
309
                                <2>
310
                                    <_label>
311
                                        <label>substrate</label>
312
                                        <value>$Substrate</value>
313
                                    </_label>
314
                                </2>
315
                                <3>
316
                                    <_label>
317
                                        <label>vegetation</label>
318
                                        <value>$Vegetation</value>
319
                                    </_label>
320
                                </3>
321
                            </_join>
322
                        </1>
323
                        <3>
324
                            <_label>
325
                                <label>habitat</label>
326
                                <value>$Habitat</value>
327
                            </_label>
328
                        </3>
329
                    </_merge>
330
                </locationnarrative>
331
            </location>
332
        </path>
333
    </_simplifyPath>
334
</VegBIEN>
335
Inserted 30 new rows into database
(5-5/6)