Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 7552 aaronmk
<VegBIEN>
3
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>ARIZ.new</shortname></source></source_id>
5 7552 aaronmk
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 10318 aaronmk
                                <1>$occurrenceID</1>
13
                                <2>$accessionNumber</2>
14 7552 aaronmk
                            </_alt>
15
                        </authorlocationcode>
16
                        <elevation_m>
17
                            <_alt>
18
                                <1>
19
                                    <_units>
20
                                        <to>m</to>
21
                                        <to></to>
22
                                        <value>$verbatimElevation</value>
23
                                    </_units>
24
                                </1>
25
                                <2>
26
                                    <_avg>
27 7703 aaronmk
                                        <1>$minimumElevationInMeters</1>
28
                                        <2>$maximumElevationInMeters</2>
29 7552 aaronmk
                                    </_avg>
30
                                </2>
31
                            </_alt>
32
                        </elevation_m>
33
                        <iscultivated>
34
                            <_locationnarrative_is_cultivated>
35
                                <locationnarrative>
36
                                    <_join>
37
                                        <1>$locality</1>
38
                                        <3>$habitat</3>
39
                                    </_join>
40
                                </locationnarrative>
41
                            </_locationnarrative_is_cultivated>
42
                        </iscultivated>
43
                        <locationevent>
44
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
45 11107 aaronmk
                            <locationevent fkey="parent_id">
46
                                <taxonoccurrence>
47
                                    <aggregateoccurrence>
48
                                        <collectiondate>
49
                                            <_alt>
50
                                                <1>$dateCollected</1>
51
                                                <2>
52
                                                    <_date>
53
                                                        <day>
54
                                                            <_nullIf>
55
                                                                <null>0</null>
56
                                                                <type>float</type>
57
                                                                <value>$dayCollected</value>
58
                                                            </_nullIf>
59
                                                        </day>
60
                                                        <month>
61
                                                            <_nullIf>
62
                                                                <null>0</null>
63
                                                                <type>float</type>
64
                                                                <value>$monthCollected</value>
65
                                                            </_nullIf>
66
                                                        </month>
67
                                                        <year>
68
                                                            <_nullIf>
69
                                                                <null>0</null>
70
                                                                <type>float</type>
71
                                                                <value>$yearCollected</value>
72
                                                            </_nullIf>
73
                                                        </year>
74
                                                    </_date>
75
                                                </2>
76
                                            </_alt>
77
                                        </collectiondate>
78
                                        <count>$individualCount</count>
79
                                        <notes>$occurrenceRemarks</notes>
80
                                        <plantobservation>
81
                                            <authorplantcode>$collectorNumber</authorplantcode>
82
                                            <definedvalue fkey="tablerecord_id">
83
                                                <userdefined_id>
84
                                                    <userdefined>
85
                                                        <tablename>plantobservation</tablename>
86
                                                        <userdefinedname>sex</userdefinedname>
87
                                                    </userdefined>
88
                                                </userdefined_id>
89
                                                <definedvalue>$sex</definedvalue>
90
                                            </definedvalue>
91
                                            <reproductivecondition>$reproductiveCondition</reproductivecondition>
92
                                            <specimenreplicate>
93
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
94
                                                <collectionnumber>$collectorNumber</collectionnumber>
95
                                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
96
                                            </specimenreplicate>
97
                                        </plantobservation>
98
                                    </aggregateoccurrence>
99
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
100
                                    <iscultivated>$cultivated</iscultivated>
101
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
102
                                    <taxondetermination>
103
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
104
                                        <taxonverbatim_id>
105
                                            <taxonverbatim>
106
                                                <taxonlabel_id>
107
                                                    <taxonlabel>
108
                                                        <parent_id>
109
                                                            <taxonlabel>
110
                                                                <rank>$taxonRank</rank>
111
                                                                <parent_id>
112
                                                                    <taxonlabel>
113
                                                                        <rank>cultivar</rank>
114
                                                                        <parent_id>
115
                                                                            <taxonlabel>
116
                                                                                <rank>forma</rank>
117
                                                                                <parent_id>
118
                                                                                    <taxonlabel>
119
                                                                                        <rank>variety</rank>
120
                                                                                        <parent_id>
121
                                                                                            <taxonlabel>
122
                                                                                                <rank>subspecies</rank>
123
                                                                                                <parent_id>
124
                                                                                                    <taxonlabel>
125
                                                                                                        <rank>species</rank>
126
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
127
                                                                                                        <parent_id>
128
                                                                                                            <taxonlabel>
129
                                                                                                                <rank>genus</rank>
130
                                                                                                                <taxonepithet>$genus</taxonepithet>
131
                                                                                                                <parent_id>
132
                                                                                                                    <taxonlabel>
133
                                                                                                                        <rank>family</rank>
134
                                                                                                                        <taxonepithet>$family</taxonepithet>
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
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
150
                                                            </taxonlabel>
151
                                                        </parent_id>
152
                                                        <rank>$taxonRank</rank>
153
                                                        <taxonomicname>
154
                                                            <_merge_prefix>
155
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
156
                                                                <value>
157
                                                                    <_alt>
158
                                                                        <1>$scientificName</1>
159
                                                                        <2>
160
                                                                            <_join_words>
161
                                                                                <1>
162
                                                                                    <_join_words>
163
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
164
                                                                                        <3>$specificEpithet</3>
165
                                                                                        <5>
166
                                                                                            <_join_words>
167
                                                                                                <1>
168
                                                                                                    <_if name="if has infraspecificEpithet">
169
                                                                                                        <cond>$infraspecificEpithet</cond>
170
                                                                                                        <then>$taxonRank</then>
171
                                                                                                    </_if>
172
                                                                                                </1>
173
                                                                                                <2>$infraspecificEpithet</2>
174
                                                                                            </_join_words>
175
                                                                                        </5>
176
                                                                                    </_join_words>
177
                                                                                </1>
178
                                                                                <2>$scientificNameAuthorship</2>
179
                                                                            </_join_words>
180
                                                                        </2>
181
                                                                    </_alt>
182
                                                                </value>
183
                                                            </_merge_prefix>
184
                                                        </taxonomicname>
185
                                                    </taxonlabel>
186
                                                </taxonlabel_id>
187
                                                <author>$scientificNameAuthorship</author>
188
                                                <family>$family</family>
189
                                                <genus>$genus</genus>
190
                                                <specific_epithet>$specificEpithet</specific_epithet>
191
                                                <taxonomicname>$scientificName</taxonomicname>
192
                                                <verbatimrank>$taxonRank</verbatimrank>
193
                                            </taxonverbatim>
194
                                        </taxonverbatim_id>
195
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
196
                                        <notes>$taxonRemarks</notes>
197
                                        <taxonfit>$identificationQualifier</taxonfit>
198
                                    </taxondetermination>
199
                                </taxonoccurrence>
200
                            </locationevent>
201 7552 aaronmk
                        </locationevent>
202
                        <locationnarrative>
203
                            <_merge>
204
                                <1>$locality</1>
205
                                <3>
206
                                    <_label>
207
                                        <label>habitat</label>
208
                                        <value>$habitat</value>
209
                                    </_label>
210
                                </3>
211 8078 aaronmk
                                <4>$locationRemarks</4>
212 7552 aaronmk
                            </_merge>
213
                        </locationnarrative>
214
                        <locationplace>
215
                            <place_id>
216
                                <place>
217
                                    <coordinates_id>
218
                                        <coordinates>
219
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
220
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
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
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
236
                                        </coordinates>
237
                                    </coordinates_id>
238 10565 aaronmk
                                    <placename_id>
239
                                        <placename>
240
                                            <rank>municipality</rank>
241
                                            <placename>$municipality</placename>
242
                                        </placename>
243
                                    </placename_id>
244 7552 aaronmk
                                    <country>$country</country>
245
                                    <county>$county</county>
246
                                    <matched_place_id>
247
                                        <place>
248
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
249
                                            <coordinates_id>
250
                                                <coordinates>
251
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
252
                                                    <latitude_deg>
253
                                                        <_nullIf>
254
                                                            <null>0</null>
255
                                                            <type>float</type>
256
                                                            <value>$decimalLatitude</value>
257
                                                        </_nullIf>
258
                                                    </latitude_deg>
259
                                                    <longitude_deg>
260
                                                        <_nullIf>
261
                                                            <null>0</null>
262
                                                            <type>float</type>
263
                                                            <value>$decimalLongitude</value>
264
                                                        </_nullIf>
265
                                                    </longitude_deg>
266
                                                </coordinates>
267
                                            </coordinates_id>
268
                                            <country>$country</country>
269
                                            <county>$county</county>
270
                                            <stateprovince>$stateProvince</stateprovince>
271
                                        </place>
272
                                    </matched_place_id>
273
                                    <stateprovince>$stateProvince</stateprovince>
274
                                </place>
275
                            </place_id>
276
                        </locationplace>
277
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
278
                    </location>
279
                </path>
280
            </_simplifyPath>
281
        </path>
282
    </_setDefault>
283
</VegBIEN>
284
Inserted 40 new rows into database