Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>ARIZ</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$occid</1>
13
                                <2>$catalogNumber</2>
14
                            </_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
                                        <1>$minimumElevationInMeters</1>
28
                                        <2>$maximumElevationInMeters</2>
29
                                    </_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
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
46
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
47
                            <taxonoccurrence>
48
                                <aggregateoccurrence>
49
                                    <count>$individualCount</count>
50
                                    <notes>$occurrenceRemarks</notes>
51
                                    <plantobservation>
52
                                        <authorplantcode>$recordNumber</authorplantcode>
53
                                        <definedvalue fkey="tablerecord_id">
54
                                            <userdefined_id>
55
                                                <userdefined>
56
                                                    <tablename>plantobservation</tablename>
57
                                                    <userdefinedname>sex</userdefinedname>
58
                                                </userdefined>
59
                                            </userdefined_id>
60
                                            <definedvalue>$sex</definedvalue>
61
                                        </definedvalue>
62
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
63
                                        <specimenreplicate>
64
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
65
                                            <collectionnumber>$recordNumber</collectionnumber>
66
                                            <sourceaccessioncode>$occid</sourceaccessioncode>
67
                                        </specimenreplicate>
68
                                    </plantobservation>
69
                                </aggregateoccurrence>
70
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
71
                                <iscultivated>
72
                                    <_map>
73
                                        <0></0>
74
                                        <*>*</*>
75
                                        <value>$cultivationStatus</value>
76
                                    </_map>
77
                                </iscultivated>
78
                                <sourceaccessioncode>$occid</sourceaccessioncode>
79
                                <taxondetermination>
80
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
81
                                    <taxonverbatim_id>
82
                                        <taxonverbatim>
83
                                            <taxonlabel_id>
84
                                                <taxonlabel>
85
                                                    <parent_id>
86
                                                        <taxonlabel>
87
                                                            <rank>$taxonRank</rank>
88
                                                            <parent_id>
89
                                                                <taxonlabel>
90
                                                                    <rank>cultivar</rank>
91
                                                                    <parent_id>
92
                                                                        <taxonlabel>
93
                                                                            <rank>forma</rank>
94
                                                                            <parent_id>
95
                                                                                <taxonlabel>
96
                                                                                    <rank>variety</rank>
97
                                                                                    <parent_id>
98
                                                                                        <taxonlabel>
99
                                                                                            <rank>subspecies</rank>
100
                                                                                            <parent_id>
101
                                                                                                <taxonlabel>
102
                                                                                                    <rank>species</rank>
103
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
104
                                                                                                    <parent_id>
105
                                                                                                        <taxonlabel>
106
                                                                                                            <rank>genus</rank>
107
                                                                                                            <taxonepithet>$genus</taxonepithet>
108
                                                                                                            <parent_id>
109
                                                                                                                <taxonlabel>
110
                                                                                                                    <rank>family</rank>
111
                                                                                                                    <taxonepithet>$family</taxonepithet>
112
                                                                                                                </taxonlabel>
113
                                                                                                            </parent_id>
114
                                                                                                        </taxonlabel>
115
                                                                                                    </parent_id>
116
                                                                                                </taxonlabel>
117
                                                                                            </parent_id>
118
                                                                                        </taxonlabel>
119
                                                                                    </parent_id>
120
                                                                                </taxonlabel>
121
                                                                            </parent_id>
122
                                                                        </taxonlabel>
123
                                                                    </parent_id>
124
                                                                </taxonlabel>
125
                                                            </parent_id>
126
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
127
                                                        </taxonlabel>
128
                                                    </parent_id>
129
                                                    <rank>$taxonRank</rank>
130
                                                    <taxonomicname>
131
                                                        <_merge_prefix>
132
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
133
                                                            <value>
134
                                                                <_alt>
135
                                                                    <1>$scientificName</1>
136
                                                                    <2>
137
                                                                        <_join_words>
138
                                                                            <1>
139
                                                                                <_join_words>
140
                                                                                    <2>$genus</2>
141
                                                                                    <3>$specificEpithet</3>
142
                                                                                    <5>
143
                                                                                        <_join_words>
144
                                                                                            <1>
145
                                                                                                <_if name="if has infraspecificEpithet">
146
                                                                                                    <cond>$infraspecificEpithet</cond>
147
                                                                                                    <then>$taxonRank</then>
148
                                                                                                </_if>
149
                                                                                            </1>
150
                                                                                            <2>$infraspecificEpithet</2>
151
                                                                                        </_join_words>
152
                                                                                    </5>
153
                                                                                </_join_words>
154
                                                                            </1>
155
                                                                            <2>$scientificNameAuthorship</2>
156
                                                                        </_join_words>
157
                                                                    </2>
158
                                                                </_alt>
159
                                                            </value>
160
                                                        </_merge_prefix>
161
                                                    </taxonomicname>
162
                                                </taxonlabel>
163
                                            </taxonlabel_id>
164
                                            <author>$scientificNameAuthorship</author>
165
                                            <family>$family</family>
166
                                            <genus>$genus</genus>
167
                                            <specific_epithet>$specificEpithet</specific_epithet>
168
                                            <taxonomicname>$scientificName</taxonomicname>
169
                                            <verbatimrank>$taxonRank</verbatimrank>
170
                                        </taxonverbatim>
171
                                    </taxonverbatim_id>
172
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
173
                                    <notes>$taxonRemarks</notes>
174
                                    <taxonfit>$identificationQualifier</taxonfit>
175
                                </taxondetermination>
176
                            </taxonoccurrence>
177
                        </locationevent>
178
                        <locationnarrative>
179
                            <_merge>
180
                                <1>$locality</1>
181
                                <3>
182
                                    <_label>
183
                                        <label>habitat</label>
184
                                        <value>$habitat</value>
185
                                    </_label>
186
                                </3>
187
                                <4>$locationRemarks</4>
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
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
197
                                            <latitude_deg>
198
                                                <_nullIf>
199
                                                    <null>0</null>
200
                                                    <type>float</type>
201
                                                    <value>$decimalLatitude</value>
202
                                                </_nullIf>
203
                                            </latitude_deg>
204
                                            <longitude_deg>
205
                                                <_nullIf>
206
                                                    <null>0</null>
207
                                                    <type>float</type>
208
                                                    <value>$decimalLongitude</value>
209
                                                </_nullIf>
210
                                            </longitude_deg>
211
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
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
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
248
                    </location>
249
                </path>
250
            </_simplifyPath>
251
        </path>
252
    </_setDefault>
253
</VegBIEN>
254
Inserted 40 new rows into database
(6-6/7)