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 10260 aaronmk
                                <1>$dataProviderRecordID</1>
13 6348 aaronmk
                                <2>
14
                                    <_join>
15 10260 aaronmk
                                        <1>$specimenHolderInstitutions</1>
16 6403 aaronmk
                                        <2>
17
                                            <_join>
18 10260 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21
                                        </2>
22 10260 aaronmk
                                        <3>$accessionNumber</3>
23 6348 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 7710 aaronmk
                        <elevation_m>$minimumElevationInMeters</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
                            <taxonoccurrence>
41
                                <aggregateoccurrence>
42 10758 aaronmk
                                    <collectiondate>$dateCollected</collectiondate>
43 6403 aaronmk
                                    <plantobservation>
44 10260 aaronmk
                                        <authorplantcode>$collectorNumber</authorplantcode>
45 6403 aaronmk
                                        <definedvalue fkey="tablerecord_id">
46
                                            <userdefined_id>
47
                                                <userdefined>
48
                                                    <tablename>plantobservation</tablename>
49
                                                    <userdefinedname>sex</userdefinedname>
50
                                                </userdefined>
51
                                            </userdefined_id>
52
                                            <definedvalue>$sex</definedvalue>
53
                                        </definedvalue>
54
                                        <specimenreplicate>
55 10260 aaronmk
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
56 6403 aaronmk
                                            <collectioncode_dwc>
57 7712 aaronmk
                                                <_alt>
58 10260 aaronmk
                                                    <1>$collection</1>
59
                                                    <2>$collectionURL</2>
60 7712 aaronmk
                                                </_alt>
61 6403 aaronmk
                                            </collectioncode_dwc>
62 10260 aaronmk
                                            <collectionnumber>$collectorNumber</collectionnumber>
63 6403 aaronmk
                                            <institution_id>
64 6791 aaronmk
                                                <sourcelist>
65 10260 aaronmk
                                                    <name>$specimenHolderInstitutions</name>
66 6791 aaronmk
                                                    <sourcename>
67 6795 aaronmk
                                                        <name>
68
                                                            <_split>
69 7433 aaronmk
                                                                <separator>[,;] *</separator>
70 10260 aaronmk
                                                                <value>$specimenHolderInstitutions</value>
71 6795 aaronmk
                                                            </_split>
72
                                                        </name>
73 6791 aaronmk
                                                    </sourcename>
74
                                                </sourcelist>
75 6403 aaronmk
                                            </institution_id>
76 10260 aaronmk
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
77 6403 aaronmk
                                        </specimenreplicate>
78
                                    </plantobservation>
79
                                </aggregateoccurrence>
80
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
81 10260 aaronmk
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
82 6403 aaronmk
                                <taxondetermination>
83
                                    <taxonverbatim_id>
84
                                        <taxonverbatim>
85
                                            <taxonlabel_id>
86 6348 aaronmk
                                                <taxonlabel>
87
                                                    <parent_id>
88
                                                        <taxonlabel>
89
                                                            <parent_id>
90
                                                                <taxonlabel>
91 6403 aaronmk
                                                                    <rank>cultivar</rank>
92 6348 aaronmk
                                                                    <parent_id>
93
                                                                        <taxonlabel>
94 6403 aaronmk
                                                                            <rank>forma</rank>
95 6348 aaronmk
                                                                            <parent_id>
96
                                                                                <taxonlabel>
97 6403 aaronmk
                                                                                    <rank>variety</rank>
98 6348 aaronmk
                                                                                    <parent_id>
99
                                                                                        <taxonlabel>
100 6403 aaronmk
                                                                                            <rank>subspecies</rank>
101 6348 aaronmk
                                                                                            <parent_id>
102
                                                                                                <taxonlabel>
103 6403 aaronmk
                                                                                                    <rank>species</rank>
104
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
105 6348 aaronmk
                                                                                                    <parent_id>
106
                                                                                                        <taxonlabel>
107 6403 aaronmk
                                                                                                            <rank>genus</rank>
108
                                                                                                            <taxonepithet>$genus</taxonepithet>
109 6348 aaronmk
                                                                                                            <parent_id>
110
                                                                                                                <taxonlabel>
111 6403 aaronmk
                                                                                                                    <rank>family</rank>
112
                                                                                                                    <taxonepithet>$family</taxonepithet>
113 6348 aaronmk
                                                                                                                    <parent_id>
114
                                                                                                                        <taxonlabel>
115 6403 aaronmk
                                                                                                                            <rank>order</rank>
116
                                                                                                                            <taxonepithet>$order</taxonepithet>
117 6348 aaronmk
                                                                                                                            <parent_id>
118
                                                                                                                                <taxonlabel>
119 6403 aaronmk
                                                                                                                                    <rank>class</rank>
120 6348 aaronmk
                                                                                                                                    <parent_id>
121
                                                                                                                                        <taxonlabel>
122 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
123
                                                                                                                                            <parent_id>
124
                                                                                                                                                <taxonlabel>
125
                                                                                                                                                    <rank>kingdom</rank>
126
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                </taxonlabel>
128
                                                                                                                                            </parent_id>
129 6348 aaronmk
                                                                                                                                        </taxonlabel>
130
                                                                                                                                    </parent_id>
131
                                                                                                                                </taxonlabel>
132
                                                                                                                            </parent_id>
133
                                                                                                                        </taxonlabel>
134
                                                                                                                    </parent_id>
135
                                                                                                                </taxonlabel>
136
                                                                                                            </parent_id>
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 6403 aaronmk
                                                    <taxonomicname>
152 7142 aaronmk
                                                        <_merge_prefix>
153
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
154
                                                            <value>
155 6403 aaronmk
                                                                <_alt>
156
                                                                    <1>$scientificName</1>
157
                                                                    <2>
158
                                                                        <_join_words>
159 9882 aaronmk
                                                                            <2><_filter_genus><value>$genus</value></_filter_genus></2>
160 6403 aaronmk
                                                                            <3>$specificEpithet</3>
161
                                                                        </_join_words>
162
                                                                    </2>
163
                                                                </_alt>
164 7142 aaronmk
                                                            </value>
165
                                                        </_merge_prefix>
166 6403 aaronmk
                                                    </taxonomicname>
167
                                                </taxonlabel>
168
                                            </taxonlabel_id>
169
                                            <family>$family</family>
170
                                            <genus>$genus</genus>
171
                                            <specific_epithet>$specificEpithet</specific_epithet>
172
                                            <taxonomicname>$scientificName</taxonomicname>
173
                                        </taxonverbatim>
174
                                    </taxonverbatim_id>
175
                                </taxondetermination>
176
                            </taxonoccurrence>
177
                        </locationevent>
178
                        <locationnarrative>
179
                            <_merge>
180
                                <1>$locality</1>
181
                                <3>
182
                                    <_label>
183
                                        <label>habitat</label>
184
                                        <value>$habitat</value>
185
                                    </_label>
186
                                </3>
187
                            </_merge>
188
                        </locationnarrative>
189
                        <locationplace>
190
                            <place_id>
191 6348 aaronmk
                                <place>
192
                                    <coordinates_id>
193
                                        <coordinates>
194 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
195 6348 aaronmk
                                            <latitude_deg>
196
                                                <_nullIf>
197
                                                    <null>0</null>
198
                                                    <type>float</type>
199
                                                    <value>$decimalLatitude</value>
200
                                                </_nullIf>
201
                                            </latitude_deg>
202
                                            <longitude_deg>
203
                                                <_nullIf>
204
                                                    <null>0</null>
205
                                                    <type>float</type>
206
                                                    <value>$decimalLongitude</value>
207
                                                </_nullIf>
208
                                            </longitude_deg>
209 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
210
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
211 6348 aaronmk
                                        </coordinates>
212
                                    </coordinates_id>
213
                                    <country>$country</country>
214
                                    <county>$county</county>
215 6403 aaronmk
                                    <matched_place_id>
216
                                        <place>
217
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
218
                                            <coordinates_id>
219
                                                <coordinates>
220
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
221
                                                    <latitude_deg>
222
                                                        <_nullIf>
223
                                                            <null>0</null>
224
                                                            <type>float</type>
225
                                                            <value>$decimalLatitude</value>
226
                                                        </_nullIf>
227
                                                    </latitude_deg>
228
                                                    <longitude_deg>
229
                                                        <_nullIf>
230
                                                            <null>0</null>
231
                                                            <type>float</type>
232
                                                            <value>$decimalLongitude</value>
233
                                                        </_nullIf>
234
                                                    </longitude_deg>
235
                                                </coordinates>
236
                                            </coordinates_id>
237
                                            <country>$country</country>
238
                                            <county>$county</county>
239
                                            <stateprovince>$stateProvince</stateprovince>
240
                                        </place>
241
                                    </matched_place_id>
242 6348 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
243
                                </place>
244 6403 aaronmk
                            </place_id>
245
                        </locationplace>
246
                    </location>
247
                </path>
248
            </_simplifyPath>
249 6348 aaronmk
        </path>
250 6403 aaronmk
    </_setDefault>
251 6348 aaronmk
</VegBIEN>
252 7162 aaronmk
Inserted 35 new rows into database