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 5657 aaronmk
                            <taxonverbatim_id>
95
                                <taxonverbatim>
96
                                    <taxonlabel_id>
97 5608 aaronmk
                                        <taxonlabel>
98 5657 aaronmk
                                            <matched_label_id>
99
                                                <taxonlabel>
100
                                                    <creator_id>
101
                                                        <party>
102
                                                            <creator_id>0</creator_id>
103
                                                            <organizationname>TNRS</organizationname>
104
                                                        </party>
105
                                                    </creator_id>
106
                                                    <taxonomicname>
107
                                                        <_join_words>
108 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
109 5788 aaronmk
                                                            <2>
110
                                                                <_join_words>
111
                                                                    <1>
112
                                                                        <_alt>
113
                                                                            <1>$scientificName</1>
114
                                                                            <2>
115 5657 aaronmk
                                                                                <_join_words>
116 5788 aaronmk
                                                                                    <2>$genus</2>
117
                                                                                    <3>$specificEpithet</3>
118
                                                                                    <5>
119
                                                                                        <_join_words>
120
                                                                                            <1>
121
                                                                                                <_if name="if has infraspecificEpithet">
122
                                                                                                    <cond>$infraspecificEpithet</cond>
123
                                                                                                    <then>$taxonRank</then>
124
                                                                                                </_if>
125
                                                                                            </1>
126
                                                                                            <2>$infraspecificEpithet</2>
127
                                                                                        </_join_words>
128
                                                                                    </5>
129 5657 aaronmk
                                                                                </_join_words>
130 5788 aaronmk
                                                                            </2>
131
                                                                        </_alt>
132
                                                                    </1>
133
                                                                    <2>$scientificNameAuthorship</2>
134
                                                                </_join_words>
135
                                                            </2>
136 5657 aaronmk
                                                        </_join_words>
137
                                                    </taxonomicname>
138
                                                </taxonlabel>
139
                                            </matched_label_id>
140
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
141 5242 aaronmk
                                            <creator_id>
142 5657 aaronmk
                                                <_simplifyPath>
143
                                                    <next>creator_id</next>
144
                                                    <path><party><fullname>$identifiedBy</fullname></party></path>
145
                                                </_simplifyPath>
146 5242 aaronmk
                                            </creator_id>
147 5294 aaronmk
                                            <parent_id>
148 5608 aaronmk
                                                <taxonlabel>
149 5657 aaronmk
                                                    <rank>$taxonRank</rank>
150
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
151 5294 aaronmk
                                                    <parent_id>
152 5608 aaronmk
                                                        <taxonlabel>
153 5657 aaronmk
                                                            <rank>cultivar</rank>
154 5294 aaronmk
                                                            <parent_id>
155 5608 aaronmk
                                                                <taxonlabel>
156 5657 aaronmk
                                                                    <rank>forma</rank>
157 5294 aaronmk
                                                                    <parent_id>
158 5608 aaronmk
                                                                        <taxonlabel>
159 5657 aaronmk
                                                                            <rank>variety</rank>
160 5294 aaronmk
                                                                            <parent_id>
161 5608 aaronmk
                                                                                <taxonlabel>
162 5657 aaronmk
                                                                                    <rank>subspecies</rank>
163 5294 aaronmk
                                                                                    <parent_id>
164 5608 aaronmk
                                                                                        <taxonlabel>
165 5657 aaronmk
                                                                                            <rank>species</rank>
166
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
167 5294 aaronmk
                                                                                            <parent_id>
168 5608 aaronmk
                                                                                                <taxonlabel>
169 5657 aaronmk
                                                                                                    <rank>genus</rank>
170
                                                                                                    <taxonepithet>$genus</taxonepithet>
171 5294 aaronmk
                                                                                                    <parent_id>
172 5608 aaronmk
                                                                                                        <taxonlabel>
173 5657 aaronmk
                                                                                                            <rank>family</rank>
174
                                                                                                            <taxonepithet>$family</taxonepithet>
175 5294 aaronmk
                                                                                                            <parent_id>
176 5608 aaronmk
                                                                                                                <taxonlabel>
177 5657 aaronmk
                                                                                                                    <rank>order</rank>
178
                                                                                                                    <taxonepithet>$order</taxonepithet>
179 5294 aaronmk
                                                                                                                    <parent_id>
180 5608 aaronmk
                                                                                                                        <taxonlabel>
181 5657 aaronmk
                                                                                                                            <rank>class</rank>
182
                                                                                                                            <taxonepithet>$class</taxonepithet>
183 5306 aaronmk
                                                                                                                            <parent_id>
184 5608 aaronmk
                                                                                                                                <taxonlabel>
185 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
186
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
187
                                                                                                                                    <parent_id>
188
                                                                                                                                        <taxonlabel>
189
                                                                                                                                            <rank>kingdom</rank>
190
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
191
                                                                                                                                        </taxonlabel>
192
                                                                                                                                    </parent_id>
193 5608 aaronmk
                                                                                                                                </taxonlabel>
194 5306 aaronmk
                                                                                                                            </parent_id>
195 5608 aaronmk
                                                                                                                        </taxonlabel>
196 5294 aaronmk
                                                                                                                    </parent_id>
197 5608 aaronmk
                                                                                                                </taxonlabel>
198 5294 aaronmk
                                                                                                            </parent_id>
199 5608 aaronmk
                                                                                                        </taxonlabel>
200 5294 aaronmk
                                                                                                    </parent_id>
201 5608 aaronmk
                                                                                                </taxonlabel>
202 5294 aaronmk
                                                                                            </parent_id>
203 5608 aaronmk
                                                                                        </taxonlabel>
204 5294 aaronmk
                                                                                    </parent_id>
205 5608 aaronmk
                                                                                </taxonlabel>
206 5294 aaronmk
                                                                            </parent_id>
207 5608 aaronmk
                                                                        </taxonlabel>
208 5294 aaronmk
                                                                    </parent_id>
209 5608 aaronmk
                                                                </taxonlabel>
210 5294 aaronmk
                                                            </parent_id>
211 5608 aaronmk
                                                        </taxonlabel>
212 5294 aaronmk
                                                    </parent_id>
213 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
214 5608 aaronmk
                                                </taxonlabel>
215 5294 aaronmk
                                            </parent_id>
216 5657 aaronmk
                                            <rank>$taxonRank</rank>
217
                                            <taxonomicname>
218
                                                <_join_words>
219 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
220 5788 aaronmk
                                                    <2>
221
                                                        <_join_words>
222
                                                            <1>
223
                                                                <_alt>
224
                                                                    <1>$scientificName</1>
225
                                                                    <2>
226 5657 aaronmk
                                                                        <_join_words>
227 5788 aaronmk
                                                                            <2>$genus</2>
228
                                                                            <3>$specificEpithet</3>
229
                                                                            <5>
230
                                                                                <_join_words>
231
                                                                                    <1>
232
                                                                                        <_if name="if has infraspecificEpithet">
233
                                                                                            <cond>$infraspecificEpithet</cond>
234
                                                                                            <then>$taxonRank</then>
235
                                                                                        </_if>
236
                                                                                    </1>
237
                                                                                    <2>$infraspecificEpithet</2>
238
                                                                                </_join_words>
239
                                                                            </5>
240 5657 aaronmk
                                                                        </_join_words>
241 5788 aaronmk
                                                                    </2>
242
                                                                </_alt>
243
                                                            </1>
244
                                                            <2>$scientificNameAuthorship</2>
245
                                                        </_join_words>
246
                                                    </2>
247 5657 aaronmk
                                                </_join_words>
248
                                            </taxonomicname>
249
                                        </taxonlabel>
250
                                    </taxonlabel_id>
251
                                    <author>$scientificNameAuthorship</author>
252
                                    <binomial>$scientificName</binomial>
253
                                    <family>$family</family>
254
                                    <genus>$genus</genus>
255 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
256 5657 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
257
                                </taxonverbatim>
258
                            </taxonverbatim_id>
259 5645 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
260 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
261 4621 aaronmk
                        </taxondetermination>
262
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
263
                    </taxonoccurrence>
264
                </locationevent>
265
                <locationnarrative>
266
                    <_merge>
267
                        <1>$locality</1>
268
                        <3>
269
                            <_label>
270
                                <label>habitat</label>
271
                                <value>$habitat</value>
272
                            </_label>
273
                        </3>
274
                    </_merge>
275
                </locationnarrative>
276 4726 aaronmk
                <locationplace>
277 4727 aaronmk
                    <placepath_id>
278
                        <placepath>
279
                            <continent>$continent</continent>
280
                            <country>$country</country>
281
                            <county>$county</county>
282
                            <stateprovince>$stateProvince</stateprovince>
283
                        </placepath>
284
                    </placepath_id>
285 4726 aaronmk
                </locationplace>
286 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
287 4621 aaronmk
            </location>
288
        </path>
289
    </_simplifyPath>
290 3641 aaronmk
</VegBIEN>
291 5655 aaronmk
Inserted 36 new rows into database