Project

General

Profile

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