Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m><_avg><min>$minimumElevationInMeters</min></_avg></elevation_m>
25
                <locationevent>
26
                    <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
27
                    <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
28
                    <taxonoccurrence>
29
                        <aggregateoccurrence>
30
                            <plantobservation>
31
                                <collectionnumber>$recordNumber</collectionnumber>
32
                                <definedvalue fkey="tablerecord_id">
33
                                    <userdefined_id>
34
                                        <userdefined>
35
                                            <tablename>plantobservation</tablename>
36
                                            <userdefinedname>sex</userdefinedname>
37
                                        </userdefined>
38
                                    </userdefined_id>
39
                                    <definedvalue>$sex</definedvalue>
40
                                </definedvalue>
41
                                <specimenreplicate>
42
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
43
                                    <collectioncode_dwc>
44
                                        <_join>
45
                                            <1>$collectionCode</1>
46
                                            <2>$collectionID</2>
47
                                        </_join>
48
                                    </collectioncode_dwc>
49
                                    <institution_id><sourcename><name>$institutionCode</name></sourcename></institution_id>
50
                                    <sourceaccessioncode>$id</sourceaccessioncode>
51
                                </specimenreplicate>
52
                            </plantobservation>
53
                        </aggregateoccurrence>
54
                        <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
55
                        <sourceaccessioncode>$id</sourceaccessioncode>
56
                        <taxondetermination>
57
                            <taxonverbatim_id>
58
                                <taxonverbatim>
59
                                    <taxonlabel_id>
60
                                        <taxonlabel>
61
                                            <matched_label_id>
62
                                                <taxonlabel>
63
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
64
                                                    <taxonomicname>
65
                                                        <_join_words>
66
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
67
                                                            <2>
68
                                                                <_alt>
69
                                                                    <1>$scientificName</1>
70
                                                                    <2>
71
                                                                        <_join_words>
72
                                                                            <2>$genus</2>
73
                                                                            <3>$specificEpithet</3>
74
                                                                        </_join_words>
75
                                                                    </2>
76
                                                                </_alt>
77
                                                            </2>
78
                                                        </_join_words>
79
                                                    </taxonomicname>
80
                                                </taxonlabel>
81
                                            </matched_label_id>
82
                                            <parent_id>
83
                                                <taxonlabel>
84
                                                    <parent_id>
85
                                                        <taxonlabel>
86
                                                            <rank>cultivar</rank>
87
                                                            <parent_id>
88
                                                                <taxonlabel>
89
                                                                    <rank>forma</rank>
90
                                                                    <parent_id>
91
                                                                        <taxonlabel>
92
                                                                            <rank>variety</rank>
93
                                                                            <parent_id>
94
                                                                                <taxonlabel>
95
                                                                                    <rank>subspecies</rank>
96
                                                                                    <parent_id>
97
                                                                                        <taxonlabel>
98
                                                                                            <rank>species</rank>
99
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
100
                                                                                            <parent_id>
101
                                                                                                <taxonlabel>
102
                                                                                                    <rank>genus</rank>
103
                                                                                                    <taxonepithet>$genus</taxonepithet>
104
                                                                                                    <parent_id>
105
                                                                                                        <taxonlabel>
106
                                                                                                            <rank>family</rank>
107
                                                                                                            <taxonepithet>$family</taxonepithet>
108
                                                                                                            <parent_id>
109
                                                                                                                <taxonlabel>
110
                                                                                                                    <rank>order</rank>
111
                                                                                                                    <taxonepithet>$order</taxonepithet>
112
                                                                                                                    <parent_id>
113
                                                                                                                        <taxonlabel>
114
                                                                                                                            <rank>class</rank>
115
                                                                                                                            <parent_id>
116
                                                                                                                                <taxonlabel>
117
                                                                                                                                    <rank>phylum</rank>
118
                                                                                                                                    <parent_id>
119
                                                                                                                                        <taxonlabel>
120
                                                                                                                                            <rank>kingdom</rank>
121
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
122
                                                                                                                                        </taxonlabel>
123
                                                                                                                                    </parent_id>
124
                                                                                                                                </taxonlabel>
125
                                                                                                                            </parent_id>
126
                                                                                                                        </taxonlabel>
127
                                                                                                                    </parent_id>
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
                                            <taxonomicname>
147
                                                <_join_words>
148
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
149
                                                    <2>
150
                                                        <_alt>
151
                                                            <1>$scientificName</1>
152
                                                            <2>
153
                                                                <_join_words>
154
                                                                    <2>$genus</2>
155
                                                                    <3>$specificEpithet</3>
156
                                                                </_join_words>
157
                                                            </2>
158
                                                        </_alt>
159
                                                    </2>
160
                                                </_join_words>
161
                                            </taxonomicname>
162
                                        </taxonlabel>
163
                                    </taxonlabel_id>
164
                                    <family>$family</family>
165
                                    <genus>$genus</genus>
166
                                    <specific_epithet>$specificEpithet</specific_epithet>
167
                                    <taxonomicname>$scientificName</taxonomicname>
168
                                </taxonverbatim>
169
                            </taxonverbatim_id>
170
                        </taxondetermination>
171
                    </taxonoccurrence>
172
                </locationevent>
173
                <locationnarrative>
174
                    <_merge>
175
                        <1>$locality</1>
176
                        <3>
177
                            <_label>
178
                                <label>habitat</label>
179
                                <value>$habitat</value>
180
                            </_label>
181
                        </3>
182
                    </_merge>
183
                </locationnarrative>
184
                <locationplace>
185
                    <place_id>
186
                        <place>
187
                            <coordinates_id>
188
                                <coordinates>
189
                                    <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
190
                                    <latitude_deg>
191
                                        <_nullIf>
192
                                            <null>0</null>
193
                                            <type>float</type>
194
                                            <value>$decimalLatitude</value>
195
                                        </_nullIf>
196
                                    </latitude_deg>
197
                                    <longitude_deg>
198
                                        <_nullIf>
199
                                            <null>0</null>
200
                                            <type>float</type>
201
                                            <value>$decimalLongitude</value>
202
                                        </_nullIf>
203
                                    </longitude_deg>
204
                                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
205
                                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
206
                                </coordinates>
207
                            </coordinates_id>
208
                            <country>$country</country>
209
                            <county>$county</county>
210
                            <matched_place_id>
211
                                <place>
212
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
213
                                    <coordinates_id>
214
                                        <coordinates>
215
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
216
                                            <latitude_deg>
217
                                                <_nullIf>
218
                                                    <null>0</null>
219
                                                    <type>float</type>
220
                                                    <value>$decimalLatitude</value>
221
                                                </_nullIf>
222
                                            </latitude_deg>
223
                                            <longitude_deg>
224
                                                <_nullIf>
225
                                                    <null>0</null>
226
                                                    <type>float</type>
227
                                                    <value>$decimalLongitude</value>
228
                                                </_nullIf>
229
                                            </longitude_deg>
230
                                        </coordinates>
231
                                    </coordinates_id>
232
                                    <country>$country</country>
233
                                    <county>$county</county>
234
                                    <stateprovince>$stateProvince</stateprovince>
235
                                </place>
236
                            </matched_place_id>
237
                            <stateprovince>$stateProvince</stateprovince>
238
                        </place>
239
                    </place_id>
240
                </locationplace>
241
            </location>
242
        </path>
243
    </_simplifyPath>
244
</VegBIEN>
245
Inserted 37 new rows into database
(4-4/5)