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>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26
                                <value>$MaximumElevation</value>
27
                            </_units>
28
                        </max>
29
                        <min>
30
                            <_units>
31
                                <default>m</default>
32
                                <to>m</to>
33
                                <to></to>
34
                                <value>
35
                                    <_rangeStart>
36
                                        <value>
37
                                            <_nullIf>
38
                                                <null>.</null>
39
                                                <value>$MinimumElevation</value>
40
                                            </_nullIf>
41
                                        </value>
42
                                    </_rangeStart>
43
                                </value>
44
                            </_units>
45
                        </min>
46
                    </_avg>
47
                </elevation_m>
48
                <elevationrange_m>
49
                    <_range>
50
                        <from>
51
                            <_units>
52
                                <default>m</default>
53
                                <to>m</to>
54
                                <to></to>
55
                                <value>
56
                                    <_rangeStart>
57
                                        <value>
58
                                            <_nullIf>
59
                                                <null>.</null>
60
                                                <value>$MinimumElevation</value>
61
                                            </_nullIf>
62
                                        </value>
63
                                    </_rangeStart>
64
                                </value>
65
                            </_units>
66
                        </from>
67
                        <to>
68
                            <_units>
69
                                <default>m</default>
70
                                <to>m</to>
71
                                <to></to>
72
                                <value>
73
                                    <_alt>
74
                                        <1>$MaximumElevation</1>
75
                                        <2>
76
                                            <_rangeEnd>
77
                                                <value>
78
                                                    <_nullIf>
79
                                                        <null>.</null>
80
                                                        <value>$MinimumElevation</value>
81
                                                    </_nullIf>
82
                                                </value>
83
                                            </_rangeEnd>
84
                                        </2>
85
                                    </_alt>
86
                                </value>
87
                            </_units>
88
                        </to>
89
                    </_range>
90
                </elevationrange_m>
91
                <locationcoords>
92
                    <coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_deg>
93
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
94
                    <latitude_deg>
95
                        <_nullIf>
96
                            <null>0</null>
97
                            <type>float</type>
98
                            <value>$Latitude</value>
99
                        </_nullIf>
100
                    </latitude_deg>
101
                    <longitude_deg>
102
                        <_nullIf>
103
                            <null>0</null>
104
                            <type>float</type>
105
                            <value>$Longitude</value>
106
                        </_nullIf>
107
                    </longitude_deg>
108
                </locationcoords>
109
                <locationevent>
110
                    <taxonoccurrence>
111
                        <aggregateoccurrence>
112
                            <collectiondate>
113
                                <_date>
114
                                    <day>
115
                                        <_nullIf>
116
                                            <null>0</null>
117
                                            <type>float</type>
118
                                            <value>$DayCollected</value>
119
                                        </_nullIf>
120
                                    </day>
121
                                    <month>
122
                                        <_nullIf>
123
                                            <null>0</null>
124
                                            <type>float</type>
125
                                            <value>$MonthCollected</value>
126
                                        </_nullIf>
127
                                    </month>
128
                                    <year>
129
                                        <_nullIf>
130
                                            <null>0</null>
131
                                            <type>float</type>
132
                                            <value>$YearCollected</value>
133
                                        </_nullIf>
134
                                    </year>
135
                                </_date>
136
                            </collectiondate>
137
                            <count>$IndividualCount</count>
138
                            <notes>
139
                                <_join>
140
                                    <1>$Notes</1>
141
                                    <2>
142
                                        <_label>
143
                                            <label>plant fungus</label>
144
                                            <value>$PlantFungusDescription</value>
145
                                        </_label>
146
                                    </2>
147
                                </_join>
148
                            </notes>
149
                            <plantobservation>
150
                                <collectionnumber>$FieldNumber</collectionnumber>
151
                                <definedvalue fkey="tablerecord_id">
152
                                    <userdefined_id>
153
                                        <userdefined>
154
                                            <tablename>plantobservation</tablename>
155
                                            <userdefinedname>sex</userdefinedname>
156
                                        </userdefined>
157
                                    </userdefined_id>
158
                                    <definedvalue>$Sex</definedvalue>
159
                                </definedvalue>
160
                                <specimenreplicate>
161
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
162
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
163
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
164
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
165
                                </specimenreplicate>
166
                            </plantobservation>
167
                        </aggregateoccurrence>
168
                        <authortaxoncode>
169
                            <_alt>
170
                                <1>$FieldNumber</1>
171
                                <2>$ScientificName</2>
172
                            </_alt>
173
                        </authortaxoncode>
174
                        <taxondetermination>
175
                            <party_id>
176
                                <party>
177
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
178
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
179
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
180
                                </party>
181
                            </party_id>
182
                            <taxonpath_id>
183
                                <taxonpath>
184
                                    <class>$Class</class>
185
                                    <family>$Family</family>
186
                                    <genus>$Genus</genus>
187
                                    <kingdom>$Kingdom</kingdom>
188
                                    <order>$Order</order>
189
                                    <phylum>$Phylum</phylum>
190
                                    <scientificname>$ScientificName</scientificname>
191
                                    <scientificnameauthor>$ScientificNameAuthor</scientificnameauthor>
192
                                    <species>$Species</species>
193
                                    <subspecies>$Subspecies</subspecies>
194
                                </taxonpath>
195
                            </taxonpath_id>
196
                            <determinationdate>
197
                                <_date>
198
                                    <day>
199
                                        <_nullIf>
200
                                            <null>0</null>
201
                                            <type>float</type>
202
                                            <value>$DayIdentified</value>
203
                                        </_nullIf>
204
                                    </day>
205
                                    <month>
206
                                        <_nullIf>
207
                                            <null>0</null>
208
                                            <type>float</type>
209
                                            <value>$MonthIdentified</value>
210
                                        </_nullIf>
211
                                    </month>
212
                                    <year>
213
                                        <_nullIf>
214
                                            <null>0</null>
215
                                            <type>float</type>
216
                                            <value>$YearIdentified</value>
217
                                        </_nullIf>
218
                                    </year>
219
                                </_date>
220
                            </determinationdate>
221
                        </taxondetermination>
222
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
223
                    </taxonoccurrence>
224
                    <waterdepth_m>
225
                        <_avg>
226
                            <max>
227
                                <_units>
228
                                    <default>m</default>
229
                                    <to>m</to>
230
                                    <to></to>
231
                                    <value>$MaximumDepth</value>
232
                                </_units>
233
                            </max>
234
                            <min>
235
                                <_units>
236
                                    <default>m</default>
237
                                    <to>m</to>
238
                                    <to></to>
239
                                    <value>$MinimumDepth</value>
240
                                </_units>
241
                            </min>
242
                        </_avg>
243
                    </waterdepth_m>
244
                </locationevent>
245
                <locationnarrative>
246
                    <_merge>
247
                        <1>
248
                            <_join>
249
                                <1>$Locality</1>
250
                                <2>
251
                                    <_label>
252
                                        <label>substrate</label>
253
                                        <value>$Substrate</value>
254
                                    </_label>
255
                                </2>
256
                                <3>
257
                                    <_label>
258
                                        <label>vegetation</label>
259
                                        <value>$Vegetation</value>
260
                                    </_label>
261
                                </3>
262
                            </_join>
263
                        </1>
264
                        <3>
265
                            <_label>
266
                                <label>habitat</label>
267
                                <value>$Habitat</value>
268
                            </_label>
269
                        </3>
270
                    </_merge>
271
                </locationnarrative>
272
                <locationplace>
273
                    <placepath_id>
274
                        <placepath>
275
                            <continent>$ContinentOcean</continent>
276
                            <country>$Country</country>
277
                            <county>$County</county>
278
                            <stateprovince>$StateProvince</stateprovince>
279
                        </placepath>
280
                    </placepath_id>
281
                </locationplace>
282
            </location>
283
        </path>
284
    </_simplifyPath>
285
</VegBIEN>
286
Inserted 27 new rows into database
(5-5/6)