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 4834 aaronmk
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
108 4621 aaronmk
                        <taxondetermination>
109
                            <party_id>
110
                                <party>
111
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
112
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
113
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
114
                                </party>
115
                            </party_id>
116 5225 aaronmk
                            <taxonconcept_id>
117
                                <taxonconcept>
118
                                    <canon_taxonconcept_id>
119
                                        <taxonconcept>
120 5242 aaronmk
                                            <creator_id>
121 5237 aaronmk
                                                <party>
122 5242 aaronmk
                                                    <creator_id>0</creator_id>
123 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
124
                                                </party>
125 5242 aaronmk
                                            </creator_id>
126 5138 aaronmk
                                            <identifyingtaxonomicname>
127
                                                <_join_words>
128
                                                    <1>
129
                                                        <_alt>
130
                                                            <1>$ScientificName</1>
131
                                                            <2>
132
                                                                <_join_words>
133
                                                                    <1>$Family</1>
134
                                                                    <2>$Genus</2>
135
                                                                    <3>$Species</3>
136
                                                                    <4>$Subspecies</4>
137
                                                                </_join_words>
138
                                                            </2>
139
                                                        </_alt>
140
                                                    </1>
141
                                                    <2>$ScientificNameAuthor</2>
142
                                                </_join_words>
143
                                            </identifyingtaxonomicname>
144 5225 aaronmk
                                        </taxonconcept>
145
                                    </canon_taxonconcept_id>
146 4944 aaronmk
                                    <author>$ScientificNameAuthor</author>
147 4703 aaronmk
                                    <class>$Class</class>
148 5241 aaronmk
                                    <creator_id>
149 5240 aaronmk
                                        <_simplifyPath>
150 5242 aaronmk
                                            <next>creator_id</next>
151 5240 aaronmk
                                            <path>
152
                                                <party>
153
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
154
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
155
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
156
                                                </party>
157
                                            </path>
158
                                        </_simplifyPath>
159 5241 aaronmk
                                    </creator_id>
160 4703 aaronmk
                                    <family>$Family</family>
161
                                    <genus>$Genus</genus>
162 5137 aaronmk
                                    <kingdom>$Kingdom</kingdom>
163
                                    <order>$Order</order>
164
                                    <phylum>$Phylum</phylum>
165
                                    <species>$Species</species>
166
                                    <subspecies>$Subspecies</subspecies>
167
                                    <taxonomicname>$ScientificName</taxonomicname>
168 5225 aaronmk
                                </taxonconcept>
169
                            </taxonconcept_id>
170 4621 aaronmk
                            <determinationdate>
171
                                <_date>
172
                                    <day>
173
                                        <_nullIf>
174
                                            <null>0</null>
175
                                            <type>float</type>
176
                                            <value>$DayIdentified</value>
177
                                        </_nullIf>
178
                                    </day>
179
                                    <month>
180
                                        <_nullIf>
181
                                            <null>0</null>
182
                                            <type>float</type>
183
                                            <value>$MonthIdentified</value>
184
                                        </_nullIf>
185
                                    </month>
186
                                    <year>
187
                                        <_nullIf>
188
                                            <null>0</null>
189
                                            <type>float</type>
190
                                            <value>$YearIdentified</value>
191
                                        </_nullIf>
192
                                    </year>
193
                                </_date>
194
                            </determinationdate>
195
                        </taxondetermination>
196
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
197
                    </taxonoccurrence>
198 4753 aaronmk
                    <waterdepth_m>
199 4621 aaronmk
                        <_avg>
200 4820 aaronmk
                            <max>$MaximumDepth</max>
201
                            <min>$MinimumDepth</min>
202 4621 aaronmk
                        </_avg>
203 4753 aaronmk
                    </waterdepth_m>
204 4621 aaronmk
                </locationevent>
205
                <locationnarrative>
206 3786 aaronmk
                    <_merge>
207 4621 aaronmk
                        <1>
208 4684 aaronmk
                            <_join>
209 4621 aaronmk
                                <1>$Locality</1>
210
                                <2>
211
                                    <_label>
212
                                        <label>substrate</label>
213
                                        <value>$Substrate</value>
214
                                    </_label>
215
                                </2>
216
                                <3>
217
                                    <_label>
218
                                        <label>vegetation</label>
219
                                        <value>$Vegetation</value>
220
                                    </_label>
221
                                </3>
222 4684 aaronmk
                            </_join>
223 4621 aaronmk
                        </1>
224 3786 aaronmk
                        <3>
225
                            <_label>
226 4621 aaronmk
                                <label>habitat</label>
227
                                <value>$Habitat</value>
228 3786 aaronmk
                            </_label>
229
                        </3>
230
                    </_merge>
231 4621 aaronmk
                </locationnarrative>
232 4726 aaronmk
                <locationplace>
233 4727 aaronmk
                    <placepath_id>
234
                        <placepath>
235
                            <continent>$ContinentOcean</continent>
236
                            <country>$Country</country>
237
                            <county>$County</county>
238
                            <stateprovince>$StateProvince</stateprovince>
239
                        </placepath>
240
                    </placepath_id>
241 4726 aaronmk
                </locationplace>
242 4621 aaronmk
            </location>
243
        </path>
244
    </_simplifyPath>
245 3641 aaronmk
</VegBIEN>
246 5138 aaronmk
Inserted 29 new rows into database