Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_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 4753 aaronmk
                <elevation_m>
20 4621 aaronmk
                    <_avg>
21 4820 aaronmk
                        <max>$MaximumElevation</max>
22 4621 aaronmk
                        <min>
23 4822 aaronmk
                            <_nullIf>
24
                                <null>.</null>
25
                                <value>$MinimumElevation</value>
26
                            </_nullIf>
27 4621 aaronmk
                        </min>
28
                    </_avg>
29 4753 aaronmk
                </elevation_m>
30 4726 aaronmk
                <locationcoords>
31 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_deg>
32 4621 aaronmk
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
33 4753 aaronmk
                    <latitude_deg>
34 4621 aaronmk
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$Latitude</value>
38
                        </_nullIf>
39 4753 aaronmk
                    </latitude_deg>
40
                    <longitude_deg>
41 4621 aaronmk
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$Longitude</value>
45
                        </_nullIf>
46 4753 aaronmk
                    </longitude_deg>
47 4726 aaronmk
                </locationcoords>
48 4621 aaronmk
                <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 4684 aaronmk
                                <_join>
79 4621 aaronmk
                                    <1>$Notes</1>
80
                                    <2>
81
                                        <_label>
82
                                            <label>plant fungus</label>
83
                                            <value>$PlantFungusDescription</value>
84
                                        </_label>
85
                                    </2>
86 4684 aaronmk
                                </_join>
87 4621 aaronmk
                            </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 4833 aaronmk
                        <authortaxoncode>$FieldNumber</authortaxoncode>
108 4834 aaronmk
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
109 4621 aaronmk
                        <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 4718 aaronmk
                            <taxonpath_id>
118
                                <taxonpath>
119 5138 aaronmk
                                    <canon_taxonpath_id>
120
                                        <taxonpath>
121
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
122
                                            <identifyingtaxonomicname>
123
                                                <_join_words>
124
                                                    <1>
125
                                                        <_alt>
126
                                                            <1>$ScientificName</1>
127
                                                            <2>
128
                                                                <_join_words>
129
                                                                    <1>$Family</1>
130
                                                                    <2>$Genus</2>
131
                                                                    <3>$Species</3>
132
                                                                    <4>$Subspecies</4>
133
                                                                </_join_words>
134
                                                            </2>
135
                                                        </_alt>
136
                                                    </1>
137
                                                    <2>$ScientificNameAuthor</2>
138
                                                </_join_words>
139
                                            </identifyingtaxonomicname>
140
                                        </taxonpath>
141
                                    </canon_taxonpath_id>
142 4944 aaronmk
                                    <author>$ScientificNameAuthor</author>
143 4703 aaronmk
                                    <class>$Class</class>
144
                                    <family>$Family</family>
145
                                    <genus>$Genus</genus>
146 5137 aaronmk
                                    <kingdom>$Kingdom</kingdom>
147
                                    <order>$Order</order>
148
                                    <phylum>$Phylum</phylum>
149
                                    <species>$Species</species>
150
                                    <subspecies>$Subspecies</subspecies>
151
                                    <taxonomicname>$ScientificName</taxonomicname>
152 4718 aaronmk
                                </taxonpath>
153
                            </taxonpath_id>
154 4621 aaronmk
                            <determinationdate>
155
                                <_date>
156
                                    <day>
157
                                        <_nullIf>
158
                                            <null>0</null>
159
                                            <type>float</type>
160
                                            <value>$DayIdentified</value>
161
                                        </_nullIf>
162
                                    </day>
163
                                    <month>
164
                                        <_nullIf>
165
                                            <null>0</null>
166
                                            <type>float</type>
167
                                            <value>$MonthIdentified</value>
168
                                        </_nullIf>
169
                                    </month>
170
                                    <year>
171
                                        <_nullIf>
172
                                            <null>0</null>
173
                                            <type>float</type>
174
                                            <value>$YearIdentified</value>
175
                                        </_nullIf>
176
                                    </year>
177
                                </_date>
178
                            </determinationdate>
179
                        </taxondetermination>
180
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
181
                    </taxonoccurrence>
182 4753 aaronmk
                    <waterdepth_m>
183 4621 aaronmk
                        <_avg>
184 4820 aaronmk
                            <max>$MaximumDepth</max>
185
                            <min>$MinimumDepth</min>
186 4621 aaronmk
                        </_avg>
187 4753 aaronmk
                    </waterdepth_m>
188 4621 aaronmk
                </locationevent>
189
                <locationnarrative>
190 3786 aaronmk
                    <_merge>
191 4621 aaronmk
                        <1>
192 4684 aaronmk
                            <_join>
193 4621 aaronmk
                                <1>$Locality</1>
194
                                <2>
195
                                    <_label>
196
                                        <label>substrate</label>
197
                                        <value>$Substrate</value>
198
                                    </_label>
199
                                </2>
200
                                <3>
201
                                    <_label>
202
                                        <label>vegetation</label>
203
                                        <value>$Vegetation</value>
204
                                    </_label>
205
                                </3>
206 4684 aaronmk
                            </_join>
207 4621 aaronmk
                        </1>
208 3786 aaronmk
                        <3>
209
                            <_label>
210 4621 aaronmk
                                <label>habitat</label>
211
                                <value>$Habitat</value>
212 3786 aaronmk
                            </_label>
213
                        </3>
214
                    </_merge>
215 4621 aaronmk
                </locationnarrative>
216 4726 aaronmk
                <locationplace>
217 4727 aaronmk
                    <placepath_id>
218
                        <placepath>
219
                            <continent>$ContinentOcean</continent>
220
                            <country>$Country</country>
221
                            <county>$County</county>
222
                            <stateprovince>$StateProvince</stateprovince>
223
                        </placepath>
224
                    </placepath_id>
225 4726 aaronmk
                </locationplace>
226 4621 aaronmk
            </location>
227
        </path>
228
    </_simplifyPath>
229 3641 aaronmk
</VegBIEN>
230 5138 aaronmk
Inserted 29 new rows into database