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 4621 aaronmk
                <locationevent>
42
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
43
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
44
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
45
                    <taxonoccurrence>
46
                        <aggregateoccurrence>
47
                            <count>$individualCount</count>
48
                            <plantobservation>
49
                                <definedvalue fkey="tablerecord_id">
50
                                    <userdefined_id>
51
                                        <userdefined>
52
                                            <tablename>plantobservation</tablename>
53
                                            <userdefinedname>sex</userdefinedname>
54
                                        </userdefined>
55
                                    </userdefined_id>
56
                                    <definedvalue>$sex</definedvalue>
57
                                </definedvalue>
58
                                <specimenreplicate>
59
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
60
                                    <collectioncode_dwc>
61
                                        <_join>
62
                                            <1>$collectionCode</1>
63
                                            <2>$collectionID</2>
64
                                        </_join>
65
                                    </collectioncode_dwc>
66
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
67
                                    <sourceaccessioncode>$id</sourceaccessioncode>
68
                                </specimenreplicate>
69
                            </plantobservation>
70
                        </aggregateoccurrence>
71 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
72 4621 aaronmk
                        <taxondetermination>
73 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
74 5657 aaronmk
                            <taxonverbatim_id>
75
                                <taxonverbatim>
76
                                    <taxonlabel_id>
77 5608 aaronmk
                                        <taxonlabel>
78 5657 aaronmk
                                            <matched_label_id>
79
                                                <taxonlabel>
80 5953 aaronmk
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
81 5657 aaronmk
                                                    <taxonomicname>
82
                                                        <_join_words>
83 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
84 5788 aaronmk
                                                            <2>
85
                                                                <_join_words>
86
                                                                    <1>
87
                                                                        <_alt>
88
                                                                            <1>$scientificName</1>
89
                                                                            <2>
90 5657 aaronmk
                                                                                <_join_words>
91 5788 aaronmk
                                                                                    <2>$genus</2>
92
                                                                                    <3>$specificEpithet</3>
93
                                                                                    <5>
94
                                                                                        <_join_words>
95
                                                                                            <1>
96
                                                                                                <_if name="if has infraspecificEpithet">
97
                                                                                                    <cond>$infraspecificEpithet</cond>
98
                                                                                                    <then>$taxonRank</then>
99
                                                                                                </_if>
100
                                                                                            </1>
101
                                                                                            <2>$infraspecificEpithet</2>
102
                                                                                        </_join_words>
103
                                                                                    </5>
104 5657 aaronmk
                                                                                </_join_words>
105 5788 aaronmk
                                                                            </2>
106
                                                                        </_alt>
107
                                                                    </1>
108
                                                                    <2>$scientificNameAuthorship</2>
109
                                                                </_join_words>
110
                                                            </2>
111 5657 aaronmk
                                                        </_join_words>
112
                                                    </taxonomicname>
113
                                                </taxonlabel>
114
                                            </matched_label_id>
115
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
116 5294 aaronmk
                                            <parent_id>
117 5608 aaronmk
                                                <taxonlabel>
118 5657 aaronmk
                                                    <rank>$taxonRank</rank>
119
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
120 5294 aaronmk
                                                    <parent_id>
121 5608 aaronmk
                                                        <taxonlabel>
122 5657 aaronmk
                                                            <rank>cultivar</rank>
123 5294 aaronmk
                                                            <parent_id>
124 5608 aaronmk
                                                                <taxonlabel>
125 5657 aaronmk
                                                                    <rank>forma</rank>
126 5294 aaronmk
                                                                    <parent_id>
127 5608 aaronmk
                                                                        <taxonlabel>
128 5657 aaronmk
                                                                            <rank>variety</rank>
129 5294 aaronmk
                                                                            <parent_id>
130 5608 aaronmk
                                                                                <taxonlabel>
131 5657 aaronmk
                                                                                    <rank>subspecies</rank>
132 5294 aaronmk
                                                                                    <parent_id>
133 5608 aaronmk
                                                                                        <taxonlabel>
134 5657 aaronmk
                                                                                            <rank>species</rank>
135
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
136 5294 aaronmk
                                                                                            <parent_id>
137 5608 aaronmk
                                                                                                <taxonlabel>
138 5657 aaronmk
                                                                                                    <rank>genus</rank>
139
                                                                                                    <taxonepithet>$genus</taxonepithet>
140 5294 aaronmk
                                                                                                    <parent_id>
141 5608 aaronmk
                                                                                                        <taxonlabel>
142 5657 aaronmk
                                                                                                            <rank>family</rank>
143
                                                                                                            <taxonepithet>$family</taxonepithet>
144 5294 aaronmk
                                                                                                            <parent_id>
145 5608 aaronmk
                                                                                                                <taxonlabel>
146 5657 aaronmk
                                                                                                                    <rank>order</rank>
147
                                                                                                                    <taxonepithet>$order</taxonepithet>
148 5294 aaronmk
                                                                                                                    <parent_id>
149 5608 aaronmk
                                                                                                                        <taxonlabel>
150 5657 aaronmk
                                                                                                                            <rank>class</rank>
151
                                                                                                                            <taxonepithet>$class</taxonepithet>
152 5306 aaronmk
                                                                                                                            <parent_id>
153 5608 aaronmk
                                                                                                                                <taxonlabel>
154 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
155
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
156
                                                                                                                                    <parent_id>
157
                                                                                                                                        <taxonlabel>
158
                                                                                                                                            <rank>kingdom</rank>
159
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
160
                                                                                                                                        </taxonlabel>
161
                                                                                                                                    </parent_id>
162 5608 aaronmk
                                                                                                                                </taxonlabel>
163 5306 aaronmk
                                                                                                                            </parent_id>
164 5608 aaronmk
                                                                                                                        </taxonlabel>
165 5294 aaronmk
                                                                                                                    </parent_id>
166 5608 aaronmk
                                                                                                                </taxonlabel>
167 5294 aaronmk
                                                                                                            </parent_id>
168 5608 aaronmk
                                                                                                        </taxonlabel>
169 5294 aaronmk
                                                                                                    </parent_id>
170 5608 aaronmk
                                                                                                </taxonlabel>
171 5294 aaronmk
                                                                                            </parent_id>
172 5608 aaronmk
                                                                                        </taxonlabel>
173 5294 aaronmk
                                                                                    </parent_id>
174 5608 aaronmk
                                                                                </taxonlabel>
175 5294 aaronmk
                                                                            </parent_id>
176 5608 aaronmk
                                                                        </taxonlabel>
177 5294 aaronmk
                                                                    </parent_id>
178 5608 aaronmk
                                                                </taxonlabel>
179 5294 aaronmk
                                                            </parent_id>
180 5608 aaronmk
                                                        </taxonlabel>
181 5294 aaronmk
                                                    </parent_id>
182 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
183 5608 aaronmk
                                                </taxonlabel>
184 5294 aaronmk
                                            </parent_id>
185 5657 aaronmk
                                            <rank>$taxonRank</rank>
186
                                            <taxonomicname>
187
                                                <_join_words>
188 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
189 5788 aaronmk
                                                    <2>
190
                                                        <_join_words>
191
                                                            <1>
192
                                                                <_alt>
193
                                                                    <1>$scientificName</1>
194
                                                                    <2>
195 5657 aaronmk
                                                                        <_join_words>
196 5788 aaronmk
                                                                            <2>$genus</2>
197
                                                                            <3>$specificEpithet</3>
198
                                                                            <5>
199
                                                                                <_join_words>
200
                                                                                    <1>
201
                                                                                        <_if name="if has infraspecificEpithet">
202
                                                                                            <cond>$infraspecificEpithet</cond>
203
                                                                                            <then>$taxonRank</then>
204
                                                                                        </_if>
205
                                                                                    </1>
206
                                                                                    <2>$infraspecificEpithet</2>
207
                                                                                </_join_words>
208
                                                                            </5>
209 5657 aaronmk
                                                                        </_join_words>
210 5788 aaronmk
                                                                    </2>
211
                                                                </_alt>
212
                                                            </1>
213
                                                            <2>$scientificNameAuthorship</2>
214
                                                        </_join_words>
215
                                                    </2>
216 5657 aaronmk
                                                </_join_words>
217
                                            </taxonomicname>
218
                                        </taxonlabel>
219
                                    </taxonlabel_id>
220
                                    <author>$scientificNameAuthorship</author>
221
                                    <family>$family</family>
222
                                    <genus>$genus</genus>
223 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
224 5948 aaronmk
                                    <taxonname>$scientificName</taxonname>
225 5657 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
226
                                </taxonverbatim>
227
                            </taxonverbatim_id>
228 5645 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
229 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
230 4621 aaronmk
                        </taxondetermination>
231
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
232
                    </taxonoccurrence>
233
                </locationevent>
234
                <locationnarrative>
235
                    <_merge>
236
                        <1>$locality</1>
237
                        <3>
238
                            <_label>
239
                                <label>habitat</label>
240
                                <value>$habitat</value>
241
                            </_label>
242
                        </3>
243
                    </_merge>
244
                </locationnarrative>
245 4726 aaronmk
                <locationplace>
246 5855 aaronmk
                    <place_id>
247
                        <place>
248 5861 aaronmk
                            <coordinates_id>
249
                                <coordinates>
250
                                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
251
                                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
252
                                    <latitude_deg>
253
                                        <_nullIf>
254
                                            <null>0</null>
255
                                            <type>float</type>
256
                                            <value>$decimalLatitude</value>
257
                                        </_nullIf>
258
                                    </latitude_deg>
259
                                    <longitude_deg>
260
                                        <_nullIf>
261
                                            <null>0</null>
262
                                            <type>float</type>
263
                                            <value>$decimalLongitude</value>
264
                                        </_nullIf>
265
                                    </longitude_deg>
266
                                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
267
                                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
268
                                </coordinates>
269
                            </coordinates_id>
270 4727 aaronmk
                            <continent>$continent</continent>
271
                            <country>$country</country>
272
                            <county>$county</county>
273 5958 aaronmk
                            <matched_place_id>
274
                                <place>
275
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
276
                                    <coordinates_id>
277
                                        <coordinates>
278 6123 aaronmk
                                            <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
279 5969 aaronmk
                                            <latitude_deg>
280
                                                <_nullIf>
281
                                                    <null>0</null>
282
                                                    <type>float</type>
283
                                                    <value>$decimalLatitude</value>
284
                                                </_nullIf>
285
                                            </latitude_deg>
286
                                            <longitude_deg>
287
                                                <_nullIf>
288
                                                    <null>0</null>
289
                                                    <type>float</type>
290
                                                    <value>$decimalLongitude</value>
291
                                                </_nullIf>
292
                                            </longitude_deg>
293 5958 aaronmk
                                        </coordinates>
294
                                    </coordinates_id>
295
                                    <country>$country</country>
296
                                    <stateprovince>$stateProvince</stateprovince>
297
                                </place>
298
                            </matched_place_id>
299 4727 aaronmk
                            <stateprovince>$stateProvince</stateprovince>
300 5855 aaronmk
                        </place>
301
                    </place_id>
302 4726 aaronmk
                </locationplace>
303 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
304 4621 aaronmk
            </location>
305
        </path>
306
    </_simplifyPath>
307 3641 aaronmk
</VegBIEN>
308 5958 aaronmk
Inserted 36 new rows into database