Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>JBM</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>$minimumElevationInMeters</elevation_m>
29
                        <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
                        <locationevent>
40
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
41
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
42
                            <taxonoccurrence>
43
                                <aggregateoccurrence>
44
                                    <plantobservation>
45
                                        <authorplantcode>$recordNumber</authorplantcode>
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
                                            <collectionnumber>$recordNumber</collectionnumber>
64
                                            <institution_id>
65
                                                <sourcelist>
66
                                                    <name>$institutionCode</name>
67
                                                    <sourcename>
68
                                                        <name>
69
                                                            <_split>
70
                                                                <separator>[,;] *</separator>
71
                                                                <value>$institutionCode</value>
72
                                                            </_split>
73
                                                        </name>
74
                                                    </sourcename>
75
                                                </sourcelist>
76
                                            </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
                                                <taxonlabel>
88
                                                    <parent_id>
89
                                                        <taxonlabel>
90
                                                            <parent_id>
91
                                                                <taxonlabel>
92
                                                                    <rank>cultivar</rank>
93
                                                                    <parent_id>
94
                                                                        <taxonlabel>
95
                                                                            <rank>forma</rank>
96
                                                                            <parent_id>
97
                                                                                <taxonlabel>
98
                                                                                    <rank>variety</rank>
99
                                                                                    <parent_id>
100
                                                                                        <taxonlabel>
101
                                                                                            <rank>subspecies</rank>
102
                                                                                            <parent_id>
103
                                                                                                <taxonlabel>
104
                                                                                                    <rank>species</rank>
105
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
106
                                                                                                    <parent_id>
107
                                                                                                        <taxonlabel>
108
                                                                                                            <rank>genus</rank>
109
                                                                                                            <taxonepithet>$genus</taxonepithet>
110
                                                                                                            <parent_id>
111
                                                                                                                <taxonlabel>
112
                                                                                                                    <rank>family</rank>
113
                                                                                                                    <taxonepithet>$family</taxonepithet>
114
                                                                                                                    <parent_id>
115
                                                                                                                        <taxonlabel>
116
                                                                                                                            <rank>order</rank>
117
                                                                                                                            <taxonepithet>$order</taxonepithet>
118
                                                                                                                            <parent_id>
119
                                                                                                                                <taxonlabel>
120
                                                                                                                                    <rank>class</rank>
121
                                                                                                                                    <parent_id>
122
                                                                                                                                        <taxonlabel>
123
                                                                                                                                            <rank>phylum</rank>
124
                                                                                                                                            <parent_id>
125
                                                                                                                                                <taxonlabel>
126
                                                                                                                                                    <rank>kingdom</rank>
127
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
128
                                                                                                                                                </taxonlabel>
129
                                                                                                                                            </parent_id>
130
                                                                                                                                        </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
                                                    <taxonomicname>
153
                                                        <_merge_prefix>
154
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
155
                                                            <value>
156
                                                                <_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
                                                            </value>
166
                                                        </_merge_prefix>
167
                                                    </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
                                <place>
193
                                    <coordinates_id>
194
                                        <coordinates>
195
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
196
                                            <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
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
211
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
212
                                        </coordinates>
213
                                    </coordinates_id>
214
                                    <country>$country</country>
215
                                    <county>$county</county>
216
                                    <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
                                    <stateprovince>$stateProvince</stateprovince>
244
                                </place>
245
                            </place_id>
246
                        </locationplace>
247
                    </location>
248
                </path>
249
            </_simplifyPath>
250
        </path>
251
    </_setDefault>
252
</VegBIEN>
253
Inserted 35 new rows into database
(4-4/5)