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>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4621 aaronmk
                    <_alt>
26
                        <1>
27 4818 aaronmk
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30 4621 aaronmk
                                <value>$verbatimElevation</value>
31 4818 aaronmk
                            </_units>
32 4621 aaronmk
                        </1>
33
                        <2>
34
                            <_avg>
35 4820 aaronmk
                                <max>$maximumElevationInMeters</max>
36 4822 aaronmk
                                <min>$minimumElevationInMeters</min>
37 4621 aaronmk
                            </_avg>
38
                        </2>
39
                    </_alt>
40 4753 aaronmk
                </elevation_m>
41 4726 aaronmk
                <locationcoords>
42 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43 4621 aaronmk
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44 4753 aaronmk
                    <latitude_deg>
45 4903 aaronmk
                        <_nullIf>
46
                            <null>0</null>
47
                            <type>float</type>
48
                            <value>$decimalLatitude</value>
49
                        </_nullIf>
50 4753 aaronmk
                    </latitude_deg>
51
                    <longitude_deg>
52 4903 aaronmk
                        <_nullIf>
53
                            <null>0</null>
54
                            <type>float</type>
55
                            <value>$decimalLongitude</value>
56
                        </_nullIf>
57 4753 aaronmk
                    </longitude_deg>
58 4903 aaronmk
                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
59
                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
60 4726 aaronmk
                </locationcoords>
61 4621 aaronmk
                <locationevent>
62
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
63
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
64
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
65
                    <taxonoccurrence>
66
                        <aggregateoccurrence>
67
                            <count>$individualCount</count>
68
                            <plantobservation>
69
                                <definedvalue fkey="tablerecord_id">
70
                                    <userdefined_id>
71
                                        <userdefined>
72
                                            <tablename>plantobservation</tablename>
73
                                            <userdefinedname>sex</userdefinedname>
74
                                        </userdefined>
75
                                    </userdefined_id>
76
                                    <definedvalue>$sex</definedvalue>
77
                                </definedvalue>
78
                                <specimenreplicate>
79
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
80
                                    <collectioncode_dwc>
81
                                        <_join>
82
                                            <1>$collectionCode</1>
83
                                            <2>$collectionID</2>
84
                                        </_join>
85
                                    </collectioncode_dwc>
86
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
87
                                    <sourceaccessioncode>$id</sourceaccessioncode>
88
                                </specimenreplicate>
89
                            </plantobservation>
90
                        </aggregateoccurrence>
91 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
92 4621 aaronmk
                        <taxondetermination>
93 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
94 5608 aaronmk
                            <taxonlabel_id>
95
                                <taxonlabel>
96
                                    <matched_label_id>
97
                                        <taxonlabel>
98 5242 aaronmk
                                            <creator_id>
99 5237 aaronmk
                                                <party>
100 5242 aaronmk
                                                    <creator_id>0</creator_id>
101 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
102
                                                </party>
103 5242 aaronmk
                                            </creator_id>
104 5138 aaronmk
                                            <identifyingtaxonomicname>
105
                                                <_join_words>
106
                                                    <1>
107
                                                        <_alt>
108
                                                            <1>$scientificName</1>
109
                                                            <2>
110
                                                                <_join_words>
111
                                                                    <1>$family</1>
112
                                                                    <2>$genus</2>
113
                                                                    <3>$specificEpithet</3>
114
                                                                    <5>
115
                                                                        <_join_words>
116
                                                                            <1>
117
                                                                                <_if name="if has infraspecificEpithet">
118
                                                                                    <cond>$infraspecificEpithet</cond>
119
                                                                                    <then>$taxonRank</then>
120
                                                                                </_if>
121
                                                                            </1>
122
                                                                            <2>$infraspecificEpithet</2>
123
                                                                        </_join_words>
124
                                                                    </5>
125
                                                                </_join_words>
126
                                                            </2>
127
                                                        </_alt>
128
                                                    </1>
129
                                                    <2>$scientificNameAuthorship</2>
130
                                                </_join_words>
131
                                            </identifyingtaxonomicname>
132 5608 aaronmk
                                        </taxonlabel>
133
                                    </matched_label_id>
134 5645 aaronmk
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
135 5241 aaronmk
                                    <creator_id>
136 5240 aaronmk
                                        <_simplifyPath>
137 5242 aaronmk
                                            <next>creator_id</next>
138 5600 aaronmk
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
139 5240 aaronmk
                                        </_simplifyPath>
140 5241 aaronmk
                                    </creator_id>
141 5646 aaronmk
                                    <identifyingtaxonomicname>
142
                                        <_join_words>
143
                                            <1>
144
                                                <_alt>
145
                                                    <1>$scientificName</1>
146
                                                    <2>
147
                                                        <_join_words>
148
                                                            <1>$family</1>
149
                                                            <2>$genus</2>
150
                                                            <3>$specificEpithet</3>
151
                                                            <5>
152
                                                                <_join_words>
153
                                                                    <1>
154
                                                                        <_if name="if has infraspecificEpithet">
155
                                                                            <cond>$infraspecificEpithet</cond>
156
                                                                            <then>$taxonRank</then>
157
                                                                        </_if>
158
                                                                    </1>
159
                                                                    <2>$infraspecificEpithet</2>
160
                                                                </_join_words>
161
                                                            </5>
162
                                                        </_join_words>
163
                                                    </2>
164
                                                </_alt>
165
                                            </1>
166
                                            <2>$scientificNameAuthorship</2>
167
                                        </_join_words>
168
                                    </identifyingtaxonomicname>
169 5294 aaronmk
                                    <parent_id>
170 5608 aaronmk
                                        <taxonlabel>
171 5487 aaronmk
                                            <rank>$taxonRank</rank>
172 5655 aaronmk
                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
173 5294 aaronmk
                                            <parent_id>
174 5608 aaronmk
                                                <taxonlabel>
175 5306 aaronmk
                                                    <rank>cultivar</rank>
176 5294 aaronmk
                                                    <parent_id>
177 5608 aaronmk
                                                        <taxonlabel>
178 5306 aaronmk
                                                            <rank>forma</rank>
179 5294 aaronmk
                                                            <parent_id>
180 5608 aaronmk
                                                                <taxonlabel>
181 5306 aaronmk
                                                                    <rank>variety</rank>
182 5294 aaronmk
                                                                    <parent_id>
183 5608 aaronmk
                                                                        <taxonlabel>
184 5306 aaronmk
                                                                            <rank>subspecies</rank>
185 5294 aaronmk
                                                                            <parent_id>
186 5608 aaronmk
                                                                                <taxonlabel>
187 5306 aaronmk
                                                                                    <rank>species</rank>
188 5596 aaronmk
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
189 5294 aaronmk
                                                                                    <parent_id>
190 5608 aaronmk
                                                                                        <taxonlabel>
191 5306 aaronmk
                                                                                            <rank>genus</rank>
192 5596 aaronmk
                                                                                            <taxonepithet>$genus</taxonepithet>
193 5294 aaronmk
                                                                                            <parent_id>
194 5608 aaronmk
                                                                                                <taxonlabel>
195 5306 aaronmk
                                                                                                    <rank>family</rank>
196 5596 aaronmk
                                                                                                    <taxonepithet>$family</taxonepithet>
197 5294 aaronmk
                                                                                                    <parent_id>
198 5608 aaronmk
                                                                                                        <taxonlabel>
199 5306 aaronmk
                                                                                                            <rank>order</rank>
200 5596 aaronmk
                                                                                                            <taxonepithet>$order</taxonepithet>
201 5294 aaronmk
                                                                                                            <parent_id>
202 5608 aaronmk
                                                                                                                <taxonlabel>
203 5306 aaronmk
                                                                                                                    <rank>class</rank>
204 5596 aaronmk
                                                                                                                    <taxonepithet>$class</taxonepithet>
205 5294 aaronmk
                                                                                                                    <parent_id>
206 5608 aaronmk
                                                                                                                        <taxonlabel>
207 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
208 5596 aaronmk
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
209 5306 aaronmk
                                                                                                                            <parent_id>
210 5608 aaronmk
                                                                                                                                <taxonlabel>
211 5306 aaronmk
                                                                                                                                    <rank>kingdom</rank>
212 5596 aaronmk
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
213 5608 aaronmk
                                                                                                                                </taxonlabel>
214 5306 aaronmk
                                                                                                                            </parent_id>
215 5608 aaronmk
                                                                                                                        </taxonlabel>
216 5294 aaronmk
                                                                                                                    </parent_id>
217 5608 aaronmk
                                                                                                                </taxonlabel>
218 5294 aaronmk
                                                                                                            </parent_id>
219 5608 aaronmk
                                                                                                        </taxonlabel>
220 5294 aaronmk
                                                                                                    </parent_id>
221 5608 aaronmk
                                                                                                </taxonlabel>
222 5294 aaronmk
                                                                                            </parent_id>
223 5608 aaronmk
                                                                                        </taxonlabel>
224 5294 aaronmk
                                                                                    </parent_id>
225 5608 aaronmk
                                                                                </taxonlabel>
226 5294 aaronmk
                                                                            </parent_id>
227 5608 aaronmk
                                                                        </taxonlabel>
228 5294 aaronmk
                                                                    </parent_id>
229 5608 aaronmk
                                                                </taxonlabel>
230 5294 aaronmk
                                                            </parent_id>
231 5608 aaronmk
                                                        </taxonlabel>
232 5294 aaronmk
                                                    </parent_id>
233 5608 aaronmk
                                                </taxonlabel>
234 5294 aaronmk
                                            </parent_id>
235 5596 aaronmk
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
236 5608 aaronmk
                                        </taxonlabel>
237 5294 aaronmk
                                    </parent_id>
238 5264 aaronmk
                                    <rank>$taxonRank</rank>
239 5655 aaronmk
                                    <taxonverbatim>
240
                                        <author>$scientificNameAuthorship</author>
241
                                        <binomial>$scientificName</binomial>
242
                                        <family>$family</family>
243
                                        <genus>$genus</genus>
244
                                        <species>$specificEpithet</species>
245
                                        <verbatimrank>$taxonRank</verbatimrank>
246
                                    </taxonverbatim>
247 5608 aaronmk
                                </taxonlabel>
248
                            </taxonlabel_id>
249 5645 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
250 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
251 4621 aaronmk
                        </taxondetermination>
252
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
253
                    </taxonoccurrence>
254
                </locationevent>
255
                <locationnarrative>
256
                    <_merge>
257
                        <1>$locality</1>
258
                        <3>
259
                            <_label>
260
                                <label>habitat</label>
261
                                <value>$habitat</value>
262
                            </_label>
263
                        </3>
264
                    </_merge>
265
                </locationnarrative>
266 4726 aaronmk
                <locationplace>
267 4727 aaronmk
                    <placepath_id>
268
                        <placepath>
269
                            <continent>$continent</continent>
270
                            <country>$country</country>
271
                            <county>$county</county>
272
                            <stateprovince>$stateProvince</stateprovince>
273
                        </placepath>
274
                    </placepath_id>
275 4726 aaronmk
                </locationplace>
276 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
277 4621 aaronmk
            </location>
278
        </path>
279
    </_simplifyPath>
280 3641 aaronmk
</VegBIEN>
281 5655 aaronmk
Inserted 36 new rows into database