Project

General

Profile

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