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