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