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