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 6217 aaronmk
                    <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
44
                    <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
45 4621 aaronmk
                    <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 6179 aaronmk
                                    <institution_id><sourcename><name>$institutionCode</name></sourcename></institution_id>
67 4621 aaronmk
                                    <sourceaccessioncode>$id</sourceaccessioncode>
68
                                </specimenreplicate>
69
                            </plantobservation>
70
                        </aggregateoccurrence>
71 6171 aaronmk
                        <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
72 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
73 4621 aaronmk
                        <taxondetermination>
74 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
75 5657 aaronmk
                            <taxonverbatim_id>
76
                                <taxonverbatim>
77
                                    <taxonlabel_id>
78 5608 aaronmk
                                        <taxonlabel>
79 5657 aaronmk
                                            <matched_label_id>
80
                                                <taxonlabel>
81 6179 aaronmk
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
82 5657 aaronmk
                                                    <taxonomicname>
83
                                                        <_join_words>
84 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
85 5788 aaronmk
                                                            <2>
86
                                                                <_join_words>
87
                                                                    <1>
88
                                                                        <_alt>
89
                                                                            <1>$scientificName</1>
90
                                                                            <2>
91 5657 aaronmk
                                                                                <_join_words>
92 5788 aaronmk
                                                                                    <2>$genus</2>
93
                                                                                    <3>$specificEpithet</3>
94
                                                                                    <5>
95
                                                                                        <_join_words>
96
                                                                                            <1>
97
                                                                                                <_if name="if has infraspecificEpithet">
98
                                                                                                    <cond>$infraspecificEpithet</cond>
99
                                                                                                    <then>$taxonRank</then>
100
                                                                                                </_if>
101
                                                                                            </1>
102
                                                                                            <2>$infraspecificEpithet</2>
103
                                                                                        </_join_words>
104
                                                                                    </5>
105 5657 aaronmk
                                                                                </_join_words>
106 5788 aaronmk
                                                                            </2>
107
                                                                        </_alt>
108
                                                                    </1>
109
                                                                    <2>$scientificNameAuthorship</2>
110
                                                                </_join_words>
111
                                                            </2>
112 5657 aaronmk
                                                        </_join_words>
113
                                                    </taxonomicname>
114
                                                </taxonlabel>
115
                                            </matched_label_id>
116 6217 aaronmk
                                            <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
117 5294 aaronmk
                                            <parent_id>
118 5608 aaronmk
                                                <taxonlabel>
119 5657 aaronmk
                                                    <rank>$taxonRank</rank>
120
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
121 5294 aaronmk
                                                    <parent_id>
122 5608 aaronmk
                                                        <taxonlabel>
123 5657 aaronmk
                                                            <rank>cultivar</rank>
124 5294 aaronmk
                                                            <parent_id>
125 5608 aaronmk
                                                                <taxonlabel>
126 5657 aaronmk
                                                                    <rank>forma</rank>
127 5294 aaronmk
                                                                    <parent_id>
128 5608 aaronmk
                                                                        <taxonlabel>
129 5657 aaronmk
                                                                            <rank>variety</rank>
130 5294 aaronmk
                                                                            <parent_id>
131 5608 aaronmk
                                                                                <taxonlabel>
132 5657 aaronmk
                                                                                    <rank>subspecies</rank>
133 5294 aaronmk
                                                                                    <parent_id>
134 5608 aaronmk
                                                                                        <taxonlabel>
135 5657 aaronmk
                                                                                            <rank>species</rank>
136
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
137 5294 aaronmk
                                                                                            <parent_id>
138 5608 aaronmk
                                                                                                <taxonlabel>
139 5657 aaronmk
                                                                                                    <rank>genus</rank>
140
                                                                                                    <taxonepithet>$genus</taxonepithet>
141 5294 aaronmk
                                                                                                    <parent_id>
142 5608 aaronmk
                                                                                                        <taxonlabel>
143 5657 aaronmk
                                                                                                            <rank>family</rank>
144
                                                                                                            <taxonepithet>$family</taxonepithet>
145 5294 aaronmk
                                                                                                            <parent_id>
146 5608 aaronmk
                                                                                                                <taxonlabel>
147 5657 aaronmk
                                                                                                                    <rank>order</rank>
148
                                                                                                                    <taxonepithet>$order</taxonepithet>
149 5294 aaronmk
                                                                                                                    <parent_id>
150 5608 aaronmk
                                                                                                                        <taxonlabel>
151 5657 aaronmk
                                                                                                                            <rank>class</rank>
152
                                                                                                                            <taxonepithet>$class</taxonepithet>
153 5306 aaronmk
                                                                                                                            <parent_id>
154 5608 aaronmk
                                                                                                                                <taxonlabel>
155 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
156
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
157
                                                                                                                                    <parent_id>
158
                                                                                                                                        <taxonlabel>
159
                                                                                                                                            <rank>kingdom</rank>
160
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
161
                                                                                                                                        </taxonlabel>
162
                                                                                                                                    </parent_id>
163 5608 aaronmk
                                                                                                                                </taxonlabel>
164 5306 aaronmk
                                                                                                                            </parent_id>
165 5608 aaronmk
                                                                                                                        </taxonlabel>
166 5294 aaronmk
                                                                                                                    </parent_id>
167 5608 aaronmk
                                                                                                                </taxonlabel>
168 5294 aaronmk
                                                                                                            </parent_id>
169 5608 aaronmk
                                                                                                        </taxonlabel>
170 5294 aaronmk
                                                                                                    </parent_id>
171 5608 aaronmk
                                                                                                </taxonlabel>
172 5294 aaronmk
                                                                                            </parent_id>
173 5608 aaronmk
                                                                                        </taxonlabel>
174 5294 aaronmk
                                                                                    </parent_id>
175 5608 aaronmk
                                                                                </taxonlabel>
176 5294 aaronmk
                                                                            </parent_id>
177 5608 aaronmk
                                                                        </taxonlabel>
178 5294 aaronmk
                                                                    </parent_id>
179 5608 aaronmk
                                                                </taxonlabel>
180 5294 aaronmk
                                                            </parent_id>
181 5608 aaronmk
                                                        </taxonlabel>
182 5294 aaronmk
                                                    </parent_id>
183 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
184 5608 aaronmk
                                                </taxonlabel>
185 5294 aaronmk
                                            </parent_id>
186 5657 aaronmk
                                            <rank>$taxonRank</rank>
187
                                            <taxonomicname>
188
                                                <_join_words>
189 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
190 5788 aaronmk
                                                    <2>
191
                                                        <_join_words>
192
                                                            <1>
193
                                                                <_alt>
194
                                                                    <1>$scientificName</1>
195
                                                                    <2>
196 5657 aaronmk
                                                                        <_join_words>
197 5788 aaronmk
                                                                            <2>$genus</2>
198
                                                                            <3>$specificEpithet</3>
199
                                                                            <5>
200
                                                                                <_join_words>
201
                                                                                    <1>
202
                                                                                        <_if name="if has infraspecificEpithet">
203
                                                                                            <cond>$infraspecificEpithet</cond>
204
                                                                                            <then>$taxonRank</then>
205
                                                                                        </_if>
206
                                                                                    </1>
207
                                                                                    <2>$infraspecificEpithet</2>
208
                                                                                </_join_words>
209
                                                                            </5>
210 5657 aaronmk
                                                                        </_join_words>
211 5788 aaronmk
                                                                    </2>
212
                                                                </_alt>
213
                                                            </1>
214
                                                            <2>$scientificNameAuthorship</2>
215
                                                        </_join_words>
216
                                                    </2>
217 5657 aaronmk
                                                </_join_words>
218
                                            </taxonomicname>
219
                                        </taxonlabel>
220
                                    </taxonlabel_id>
221
                                    <author>$scientificNameAuthorship</author>
222
                                    <family>$family</family>
223
                                    <genus>$genus</genus>
224 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
225 5948 aaronmk
                                    <taxonname>$scientificName</taxonname>
226 5657 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
227
                                </taxonverbatim>
228
                            </taxonverbatim_id>
229 6217 aaronmk
                            <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
230 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
231 4621 aaronmk
                        </taxondetermination>
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 6250 aaronmk
                                    <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
251 5861 aaronmk
                                    <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 6179 aaronmk
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
276 5958 aaronmk
                                    <coordinates_id>
277
                                        <coordinates>
278 6179 aaronmk
                                            <source_id><source><shortname>geoscrub</shortname></source></source_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 6171 aaronmk
Inserted 37 new rows into database