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 4944 aaronmk
                                    <author>$ScientificNameAuthor</author>
120 4703 aaronmk
                                    <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 4965 aaronmk
                                    <taxonomicname>$ScientificName</taxonomicname>
129 5012 aaronmk
                                    <taxonomicnamewithauthor>
130
                                        <_join_words>
131
                                            <1>$ScientificName</1>
132
                                            <2>$ScientificNameAuthor</2>
133
                                        </_join_words>
134
                                    </taxonomicnamewithauthor>
135 4718 aaronmk
                                </taxonpath>
136
                            </taxonpath_id>
137 4621 aaronmk
                            <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 4753 aaronmk
                    <waterdepth_m>
166 4621 aaronmk
                        <_avg>
167 4820 aaronmk
                            <max>$MaximumDepth</max>
168
                            <min>$MinimumDepth</min>
169 4621 aaronmk
                        </_avg>
170 4753 aaronmk
                    </waterdepth_m>
171 4621 aaronmk
                </locationevent>
172
                <locationnarrative>
173 3786 aaronmk
                    <_merge>
174 4621 aaronmk
                        <1>
175 4684 aaronmk
                            <_join>
176 4621 aaronmk
                                <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 4684 aaronmk
                            </_join>
190 4621 aaronmk
                        </1>
191 3786 aaronmk
                        <3>
192
                            <_label>
193 4621 aaronmk
                                <label>habitat</label>
194
                                <value>$Habitat</value>
195 3786 aaronmk
                            </_label>
196
                        </3>
197
                    </_merge>
198 4621 aaronmk
                </locationnarrative>
199 4726 aaronmk
                <locationplace>
200 4727 aaronmk
                    <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 4726 aaronmk
                </locationplace>
209 4621 aaronmk
            </location>
210
        </path>
211
    </_simplifyPath>
212 3641 aaronmk
</VegBIEN>
213 4947 aaronmk
Inserted 26 new rows into database