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