Project

General

Profile

1 7552 aaronmk
Put template:
2
<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
                            <taxonoccurrence>
46
                                <aggregateoccurrence>
47 10758 aaronmk
                                    <collectiondate>
48
                                        <_alt>
49
                                            <1>$dateCollected</1>
50
                                            <2>
51
                                                <_date>
52
                                                    <day>
53
                                                        <_nullIf>
54
                                                            <null>0</null>
55
                                                            <type>float</type>
56
                                                            <value>$dayCollected</value>
57
                                                        </_nullIf>
58
                                                    </day>
59
                                                    <month>
60
                                                        <_nullIf>
61
                                                            <null>0</null>
62
                                                            <type>float</type>
63
                                                            <value>$monthCollected</value>
64
                                                        </_nullIf>
65
                                                    </month>
66
                                                    <year>
67
                                                        <_nullIf>
68
                                                            <null>0</null>
69
                                                            <type>float</type>
70
                                                            <value>$yearCollected</value>
71
                                                        </_nullIf>
72
                                                    </year>
73
                                                </_date>
74
                                            </2>
75
                                        </_alt>
76
                                    </collectiondate>
77 7552 aaronmk
                                    <count>$individualCount</count>
78 7713 aaronmk
                                    <notes>$occurrenceRemarks</notes>
79 7552 aaronmk
                                    <plantobservation>
80 10318 aaronmk
                                        <authorplantcode>$collectorNumber</authorplantcode>
81 7552 aaronmk
                                        <definedvalue fkey="tablerecord_id">
82
                                            <userdefined_id>
83
                                                <userdefined>
84
                                                    <tablename>plantobservation</tablename>
85
                                                    <userdefinedname>sex</userdefinedname>
86
                                                </userdefined>
87
                                            </userdefined_id>
88
                                            <definedvalue>$sex</definedvalue>
89
                                        </definedvalue>
90 7610 aaronmk
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
91 7552 aaronmk
                                        <specimenreplicate>
92 10318 aaronmk
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
93
                                            <collectionnumber>$collectorNumber</collectionnumber>
94
                                            <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
95 7552 aaronmk
                                        </specimenreplicate>
96
                                    </plantobservation>
97
                                </aggregateoccurrence>
98
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
99 10316 aaronmk
                                <iscultivated>$cultivated</iscultivated>
100 10318 aaronmk
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
101 7552 aaronmk
                                <taxondetermination>
102
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
103
                                    <taxonverbatim_id>
104
                                        <taxonverbatim>
105
                                            <taxonlabel_id>
106
                                                <taxonlabel>
107
                                                    <parent_id>
108
                                                        <taxonlabel>
109
                                                            <rank>$taxonRank</rank>
110
                                                            <parent_id>
111
                                                                <taxonlabel>
112
                                                                    <rank>cultivar</rank>
113
                                                                    <parent_id>
114
                                                                        <taxonlabel>
115
                                                                            <rank>forma</rank>
116
                                                                            <parent_id>
117
                                                                                <taxonlabel>
118
                                                                                    <rank>variety</rank>
119
                                                                                    <parent_id>
120
                                                                                        <taxonlabel>
121
                                                                                            <rank>subspecies</rank>
122
                                                                                            <parent_id>
123
                                                                                                <taxonlabel>
124
                                                                                                    <rank>species</rank>
125
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
126
                                                                                                    <parent_id>
127
                                                                                                        <taxonlabel>
128
                                                                                                            <rank>genus</rank>
129
                                                                                                            <taxonepithet>$genus</taxonepithet>
130
                                                                                                            <parent_id>
131
                                                                                                                <taxonlabel>
132
                                                                                                                    <rank>family</rank>
133
                                                                                                                    <taxonepithet>$family</taxonepithet>
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
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
149
                                                        </taxonlabel>
150
                                                    </parent_id>
151
                                                    <rank>$taxonRank</rank>
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
                                                                            <1>
161
                                                                                <_join_words>
162 9882 aaronmk
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
163 7552 aaronmk
                                                                                    <3>$specificEpithet</3>
164
                                                                                    <5>
165
                                                                                        <_join_words>
166
                                                                                            <1>
167
                                                                                                <_if name="if has infraspecificEpithet">
168
                                                                                                    <cond>$infraspecificEpithet</cond>
169
                                                                                                    <then>$taxonRank</then>
170
                                                                                                </_if>
171
                                                                                            </1>
172
                                                                                            <2>$infraspecificEpithet</2>
173
                                                                                        </_join_words>
174
                                                                                    </5>
175
                                                                                </_join_words>
176
                                                                            </1>
177
                                                                            <2>$scientificNameAuthorship</2>
178
                                                                        </_join_words>
179
                                                                    </2>
180
                                                                </_alt>
181
                                                            </value>
182
                                                        </_merge_prefix>
183
                                                    </taxonomicname>
184
                                                </taxonlabel>
185
                                            </taxonlabel_id>
186
                                            <author>$scientificNameAuthorship</author>
187
                                            <family>$family</family>
188
                                            <genus>$genus</genus>
189
                                            <specific_epithet>$specificEpithet</specific_epithet>
190
                                            <taxonomicname>$scientificName</taxonomicname>
191
                                            <verbatimrank>$taxonRank</verbatimrank>
192
                                        </taxonverbatim>
193
                                    </taxonverbatim_id>
194
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
195
                                    <notes>$taxonRemarks</notes>
196
                                    <taxonfit>$identificationQualifier</taxonfit>
197
                                </taxondetermination>
198
                            </taxonoccurrence>
199
                        </locationevent>
200
                        <locationnarrative>
201
                            <_merge>
202
                                <1>$locality</1>
203
                                <3>
204
                                    <_label>
205
                                        <label>habitat</label>
206
                                        <value>$habitat</value>
207
                                    </_label>
208
                                </3>
209 8078 aaronmk
                                <4>$locationRemarks</4>
210 7552 aaronmk
                            </_merge>
211
                        </locationnarrative>
212
                        <locationplace>
213
                            <place_id>
214
                                <place>
215
                                    <coordinates_id>
216
                                        <coordinates>
217
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
218
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
219
                                            <latitude_deg>
220
                                                <_nullIf>
221
                                                    <null>0</null>
222
                                                    <type>float</type>
223
                                                    <value>$decimalLatitude</value>
224
                                                </_nullIf>
225
                                            </latitude_deg>
226
                                            <longitude_deg>
227
                                                <_nullIf>
228
                                                    <null>0</null>
229
                                                    <type>float</type>
230
                                                    <value>$decimalLongitude</value>
231
                                                </_nullIf>
232
                                            </longitude_deg>
233
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
234
                                        </coordinates>
235
                                    </coordinates_id>
236 10565 aaronmk
                                    <placename_id>
237
                                        <placename>
238
                                            <rank>municipality</rank>
239
                                            <placename>$municipality</placename>
240
                                        </placename>
241
                                    </placename_id>
242 7552 aaronmk
                                    <country>$country</country>
243
                                    <county>$county</county>
244
                                    <matched_place_id>
245
                                        <place>
246
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
247
                                            <coordinates_id>
248
                                                <coordinates>
249
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
250
                                                    <latitude_deg>
251
                                                        <_nullIf>
252
                                                            <null>0</null>
253
                                                            <type>float</type>
254
                                                            <value>$decimalLatitude</value>
255
                                                        </_nullIf>
256
                                                    </latitude_deg>
257
                                                    <longitude_deg>
258
                                                        <_nullIf>
259
                                                            <null>0</null>
260
                                                            <type>float</type>
261
                                                            <value>$decimalLongitude</value>
262
                                                        </_nullIf>
263
                                                    </longitude_deg>
264
                                                </coordinates>
265
                                            </coordinates_id>
266
                                            <country>$country</country>
267
                                            <county>$county</county>
268
                                            <stateprovince>$stateProvince</stateprovince>
269
                                        </place>
270
                                    </matched_place_id>
271
                                    <stateprovince>$stateProvince</stateprovince>
272
                                </place>
273
                            </place_id>
274
                        </locationplace>
275
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
276
                    </location>
277
                </path>
278
            </_simplifyPath>
279
        </path>
280
    </_setDefault>
281
</VegBIEN>
282
Inserted 40 new rows into database