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