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
                                                <sourcename>
65
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
66
                                                    <name>$institutionCode</name>
67
                                                </sourcename>
68
                                            </institution_id>
69
                                            <sourceaccessioncode>$id</sourceaccessioncode>
70
                                        </specimenreplicate>
71
                                    </plantobservation>
72
                                </aggregateoccurrence>
73
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
74
                                <sourceaccessioncode>$id</sourceaccessioncode>
75
                                <taxondetermination>
76
                                    <taxonverbatim_id>
77
                                        <taxonverbatim>
78
                                            <taxonlabel_id>
79 6348 aaronmk
                                                <taxonlabel>
80 6403 aaronmk
                                                    <matched_label_id>
81
                                                        <taxonlabel>
82
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
83
                                                            <taxonomicname>
84
                                                                <_join_words>
85
                                                                    <1>
86
                                                                        <_taxon_family_require_std>
87
                                                                            <family>
88
                                                                                <_nullIf>
89
                                                                                    <null>$scientificName</null>
90
                                                                                    <value>$family</value>
91
                                                                                </_nullIf>
92
                                                                            </family>
93
                                                                        </_taxon_family_require_std>
94
                                                                    </1>
95 6348 aaronmk
                                                                    <2>
96 6403 aaronmk
                                                                        <_alt>
97
                                                                            <1>$scientificName</1>
98
                                                                            <2>
99
                                                                                <_join_words>
100
                                                                                    <2>$genus</2>
101
                                                                                    <3>$specificEpithet</3>
102
                                                                                </_join_words>
103
                                                                            </2>
104
                                                                        </_alt>
105 6348 aaronmk
                                                                    </2>
106 6403 aaronmk
                                                                </_join_words>
107
                                                            </taxonomicname>
108
                                                        </taxonlabel>
109
                                                    </matched_label_id>
110 6348 aaronmk
                                                    <parent_id>
111
                                                        <taxonlabel>
112
                                                            <parent_id>
113
                                                                <taxonlabel>
114 6403 aaronmk
                                                                    <rank>cultivar</rank>
115 6348 aaronmk
                                                                    <parent_id>
116
                                                                        <taxonlabel>
117 6403 aaronmk
                                                                            <rank>forma</rank>
118 6348 aaronmk
                                                                            <parent_id>
119
                                                                                <taxonlabel>
120 6403 aaronmk
                                                                                    <rank>variety</rank>
121 6348 aaronmk
                                                                                    <parent_id>
122
                                                                                        <taxonlabel>
123 6403 aaronmk
                                                                                            <rank>subspecies</rank>
124 6348 aaronmk
                                                                                            <parent_id>
125
                                                                                                <taxonlabel>
126 6403 aaronmk
                                                                                                    <rank>species</rank>
127
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
128 6348 aaronmk
                                                                                                    <parent_id>
129
                                                                                                        <taxonlabel>
130 6403 aaronmk
                                                                                                            <rank>genus</rank>
131
                                                                                                            <taxonepithet>$genus</taxonepithet>
132 6348 aaronmk
                                                                                                            <parent_id>
133
                                                                                                                <taxonlabel>
134 6403 aaronmk
                                                                                                                    <rank>family</rank>
135
                                                                                                                    <taxonepithet>$family</taxonepithet>
136 6348 aaronmk
                                                                                                                    <parent_id>
137
                                                                                                                        <taxonlabel>
138 6403 aaronmk
                                                                                                                            <rank>order</rank>
139
                                                                                                                            <taxonepithet>$order</taxonepithet>
140 6348 aaronmk
                                                                                                                            <parent_id>
141
                                                                                                                                <taxonlabel>
142 6403 aaronmk
                                                                                                                                    <rank>class</rank>
143 6348 aaronmk
                                                                                                                                    <parent_id>
144
                                                                                                                                        <taxonlabel>
145 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
146
                                                                                                                                            <parent_id>
147
                                                                                                                                                <taxonlabel>
148
                                                                                                                                                    <rank>kingdom</rank>
149
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
150
                                                                                                                                                </taxonlabel>
151
                                                                                                                                            </parent_id>
152 6348 aaronmk
                                                                                                                                        </taxonlabel>
153
                                                                                                                                    </parent_id>
154
                                                                                                                                </taxonlabel>
155
                                                                                                                            </parent_id>
156
                                                                                                                        </taxonlabel>
157
                                                                                                                    </parent_id>
158
                                                                                                                </taxonlabel>
159
                                                                                                            </parent_id>
160
                                                                                                        </taxonlabel>
161
                                                                                                    </parent_id>
162
                                                                                                </taxonlabel>
163
                                                                                            </parent_id>
164
                                                                                        </taxonlabel>
165
                                                                                    </parent_id>
166
                                                                                </taxonlabel>
167
                                                                            </parent_id>
168
                                                                        </taxonlabel>
169
                                                                    </parent_id>
170
                                                                </taxonlabel>
171
                                                            </parent_id>
172
                                                        </taxonlabel>
173
                                                    </parent_id>
174 6403 aaronmk
                                                    <taxonomicname>
175
                                                        <_join_words>
176
                                                            <1>
177
                                                                <_taxon_family_require_std>
178
                                                                    <family>
179
                                                                        <_nullIf>
180
                                                                            <null>$scientificName</null>
181
                                                                            <value>$family</value>
182
                                                                        </_nullIf>
183
                                                                    </family>
184
                                                                </_taxon_family_require_std>
185
                                                            </1>
186 6348 aaronmk
                                                            <2>
187 6403 aaronmk
                                                                <_alt>
188
                                                                    <1>$scientificName</1>
189
                                                                    <2>
190
                                                                        <_join_words>
191
                                                                            <2>$genus</2>
192
                                                                            <3>$specificEpithet</3>
193
                                                                        </_join_words>
194
                                                                    </2>
195
                                                                </_alt>
196 6348 aaronmk
                                                            </2>
197 6403 aaronmk
                                                        </_join_words>
198
                                                    </taxonomicname>
199
                                                </taxonlabel>
200
                                            </taxonlabel_id>
201
                                            <family>$family</family>
202
                                            <genus>$genus</genus>
203
                                            <specific_epithet>$specificEpithet</specific_epithet>
204
                                            <taxonomicname>$scientificName</taxonomicname>
205
                                        </taxonverbatim>
206
                                    </taxonverbatim_id>
207
                                </taxondetermination>
208
                            </taxonoccurrence>
209
                        </locationevent>
210
                        <locationnarrative>
211
                            <_merge>
212
                                <1>$locality</1>
213
                                <3>
214
                                    <_label>
215
                                        <label>habitat</label>
216
                                        <value>$habitat</value>
217
                                    </_label>
218
                                </3>
219
                            </_merge>
220
                        </locationnarrative>
221
                        <locationplace>
222
                            <place_id>
223 6348 aaronmk
                                <place>
224
                                    <coordinates_id>
225
                                        <coordinates>
226 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
227 6348 aaronmk
                                            <latitude_deg>
228
                                                <_nullIf>
229
                                                    <null>0</null>
230
                                                    <type>float</type>
231
                                                    <value>$decimalLatitude</value>
232
                                                </_nullIf>
233
                                            </latitude_deg>
234
                                            <longitude_deg>
235
                                                <_nullIf>
236
                                                    <null>0</null>
237
                                                    <type>float</type>
238
                                                    <value>$decimalLongitude</value>
239
                                                </_nullIf>
240
                                            </longitude_deg>
241 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
242
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
243 6348 aaronmk
                                        </coordinates>
244
                                    </coordinates_id>
245
                                    <country>$country</country>
246
                                    <county>$county</county>
247 6403 aaronmk
                                    <matched_place_id>
248
                                        <place>
249
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
250
                                            <coordinates_id>
251
                                                <coordinates>
252
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
253
                                                    <latitude_deg>
254
                                                        <_nullIf>
255
                                                            <null>0</null>
256
                                                            <type>float</type>
257
                                                            <value>$decimalLatitude</value>
258
                                                        </_nullIf>
259
                                                    </latitude_deg>
260
                                                    <longitude_deg>
261
                                                        <_nullIf>
262
                                                            <null>0</null>
263
                                                            <type>float</type>
264
                                                            <value>$decimalLongitude</value>
265
                                                        </_nullIf>
266
                                                    </longitude_deg>
267
                                                </coordinates>
268
                                            </coordinates_id>
269
                                            <country>$country</country>
270
                                            <county>$county</county>
271
                                            <stateprovince>$stateProvince</stateprovince>
272
                                        </place>
273
                                    </matched_place_id>
274 6348 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
275
                                </place>
276 6403 aaronmk
                            </place_id>
277
                        </locationplace>
278
                    </location>
279
                </path>
280
            </_simplifyPath>
281 6348 aaronmk
        </path>
282 6403 aaronmk
    </_setDefault>
283 6348 aaronmk
</VegBIEN>
284 6710 aaronmk
Inserted 38 new rows into database