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
                        <authortaxoncode>$FieldNumber</authortaxoncode>
108
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
109
                        <taxondetermination>
110
                            <party_id>
111
                                <party>
112
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
113
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
114
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
115
                                </party>
116
                            </party_id>
117
                            <taxonpath_id>
118
                                <taxonpath>
119
                                    <author>$ScientificNameAuthor</author>
120
                                    <class>$Class</class>
121
                                    <family>$Family</family>
122
                                    <genus>$Genus</genus>
123
                                    <identifyingtaxonomicname>
124
                                        <_join_words>
125
                                            <1>
126
                                                <_alt>
127
                                                    <1>$ScientificName</1>
128
                                                    <2>
129
                                                        <_join_words>
130
                                                            <1>$Family</1>
131
                                                            <2>$Genus</2>
132
                                                            <3>$Species</3>
133
                                                            <4>$Subspecies</4>
134
                                                        </_join_words>
135
                                                    </2>
136
                                                </_alt>
137
                                            </1>
138
                                            <2>$ScientificNameAuthor</2>
139
                                        </_join_words>
140
                                    </identifyingtaxonomicname>
141
                                    <kingdom>$Kingdom</kingdom>
142
                                    <order>$Order</order>
143
                                    <phylum>$Phylum</phylum>
144
                                    <species>$Species</species>
145
                                    <subspecies>$Subspecies</subspecies>
146
                                    <taxonomicname>$ScientificName</taxonomicname>
147
                                </taxonpath>
148
                            </taxonpath_id>
149
                            <determinationdate>
150
                                <_date>
151
                                    <day>
152
                                        <_nullIf>
153
                                            <null>0</null>
154
                                            <type>float</type>
155
                                            <value>$DayIdentified</value>
156
                                        </_nullIf>
157
                                    </day>
158
                                    <month>
159
                                        <_nullIf>
160
                                            <null>0</null>
161
                                            <type>float</type>
162
                                            <value>$MonthIdentified</value>
163
                                        </_nullIf>
164
                                    </month>
165
                                    <year>
166
                                        <_nullIf>
167
                                            <null>0</null>
168
                                            <type>float</type>
169
                                            <value>$YearIdentified</value>
170
                                        </_nullIf>
171
                                    </year>
172
                                </_date>
173
                            </determinationdate>
174
                        </taxondetermination>
175
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
176
                    </taxonoccurrence>
177
                    <waterdepth_m>
178
                        <_avg>
179
                            <max>$MaximumDepth</max>
180
                            <min>$MinimumDepth</min>
181
                        </_avg>
182
                    </waterdepth_m>
183
                </locationevent>
184
                <locationnarrative>
185
                    <_merge>
186
                        <1>
187
                            <_join>
188
                                <1>$Locality</1>
189
                                <2>
190
                                    <_label>
191
                                        <label>substrate</label>
192
                                        <value>$Substrate</value>
193
                                    </_label>
194
                                </2>
195
                                <3>
196
                                    <_label>
197
                                        <label>vegetation</label>
198
                                        <value>$Vegetation</value>
199
                                    </_label>
200
                                </3>
201
                            </_join>
202
                        </1>
203
                        <3>
204
                            <_label>
205
                                <label>habitat</label>
206
                                <value>$Habitat</value>
207
                            </_label>
208
                        </3>
209
                    </_merge>
210
                </locationnarrative>
211
                <locationplace>
212
                    <placepath_id>
213
                        <placepath>
214
                            <continent>$ContinentOcean</continent>
215
                            <country>$Country</country>
216
                            <county>$County</county>
217
                            <stateprovince>$StateProvince</stateprovince>
218
                        </placepath>
219
                    </placepath_id>
220
                </locationplace>
221
            </location>
222
        </path>
223
    </_simplifyPath>
224
</VegBIEN>
225
Inserted 26 new rows into database
(5-5/6)