Project

General

Profile

1 7552 aaronmk
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
                                        <max>$maximumElevationInMeters</max>
28
                                        <min>$minimumElevationInMeters</min>
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
                                    <plantobservation>
51
                                        <authorplantcode>$recordNumber</authorplantcode>
52
                                        <definedvalue fkey="tablerecord_id">
53
                                            <userdefined_id>
54
                                                <userdefined>
55
                                                    <tablename>plantobservation</tablename>
56
                                                    <userdefinedname>sex</userdefinedname>
57
                                                </userdefined>
58
                                            </userdefined_id>
59
                                            <definedvalue>$sex</definedvalue>
60
                                        </definedvalue>
61
                                        <specimenreplicate>
62
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
63
                                            <collectionnumber>$recordNumber</collectionnumber>
64
                                            <sourceaccessioncode>$occid</sourceaccessioncode>
65
                                        </specimenreplicate>
66
                                    </plantobservation>
67
                                </aggregateoccurrence>
68
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
69
                                <iscultivated>$cultivationStatus</iscultivated>
70
                                <sourceaccessioncode>$occid</sourceaccessioncode>
71
                                <taxondetermination>
72
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
73
                                    <taxonverbatim_id>
74
                                        <taxonverbatim>
75
                                            <taxonlabel_id>
76
                                                <taxonlabel>
77
                                                    <parent_id>
78
                                                        <taxonlabel>
79
                                                            <rank>$taxonRank</rank>
80
                                                            <parent_id>
81
                                                                <taxonlabel>
82
                                                                    <rank>cultivar</rank>
83
                                                                    <parent_id>
84
                                                                        <taxonlabel>
85
                                                                            <rank>forma</rank>
86
                                                                            <parent_id>
87
                                                                                <taxonlabel>
88
                                                                                    <rank>variety</rank>
89
                                                                                    <parent_id>
90
                                                                                        <taxonlabel>
91
                                                                                            <rank>subspecies</rank>
92
                                                                                            <parent_id>
93
                                                                                                <taxonlabel>
94
                                                                                                    <rank>species</rank>
95
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
96
                                                                                                    <parent_id>
97
                                                                                                        <taxonlabel>
98
                                                                                                            <rank>genus</rank>
99
                                                                                                            <taxonepithet>$genus</taxonepithet>
100
                                                                                                            <parent_id>
101
                                                                                                                <taxonlabel>
102
                                                                                                                    <rank>family</rank>
103
                                                                                                                    <taxonepithet>$family</taxonepithet>
104
                                                                                                                </taxonlabel>
105
                                                                                                            </parent_id>
106
                                                                                                        </taxonlabel>
107
                                                                                                    </parent_id>
108
                                                                                                </taxonlabel>
109
                                                                                            </parent_id>
110
                                                                                        </taxonlabel>
111
                                                                                    </parent_id>
112
                                                                                </taxonlabel>
113
                                                                            </parent_id>
114
                                                                        </taxonlabel>
115
                                                                    </parent_id>
116
                                                                </taxonlabel>
117
                                                            </parent_id>
118
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
119
                                                        </taxonlabel>
120
                                                    </parent_id>
121
                                                    <rank>$taxonRank</rank>
122
                                                    <taxonomicname>
123
                                                        <_merge_prefix>
124
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
125
                                                            <value>
126
                                                                <_alt>
127
                                                                    <1>$scientificName</1>
128
                                                                    <2>
129
                                                                        <_join_words>
130
                                                                            <1>
131
                                                                                <_join_words>
132
                                                                                    <2>$genus</2>
133
                                                                                    <3>$specificEpithet</3>
134
                                                                                    <5>
135
                                                                                        <_join_words>
136
                                                                                            <1>
137
                                                                                                <_if name="if has infraspecificEpithet">
138
                                                                                                    <cond>$infraspecificEpithet</cond>
139
                                                                                                    <then>$taxonRank</then>
140
                                                                                                </_if>
141
                                                                                            </1>
142
                                                                                            <2>$infraspecificEpithet</2>
143
                                                                                        </_join_words>
144
                                                                                    </5>
145
                                                                                </_join_words>
146
                                                                            </1>
147
                                                                            <2>$scientificNameAuthorship</2>
148
                                                                        </_join_words>
149
                                                                    </2>
150
                                                                </_alt>
151
                                                            </value>
152
                                                        </_merge_prefix>
153
                                                    </taxonomicname>
154
                                                </taxonlabel>
155
                                            </taxonlabel_id>
156
                                            <author>$scientificNameAuthorship</author>
157
                                            <family>$family</family>
158
                                            <genus>$genus</genus>
159
                                            <specific_epithet>$specificEpithet</specific_epithet>
160
                                            <taxonomicname>$scientificName</taxonomicname>
161
                                            <verbatimrank>$taxonRank</verbatimrank>
162
                                        </taxonverbatim>
163
                                    </taxonverbatim_id>
164
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
165
                                    <notes>$taxonRemarks</notes>
166
                                    <taxonfit>$identificationQualifier</taxonfit>
167
                                </taxondetermination>
168
                            </taxonoccurrence>
169
                        </locationevent>
170
                        <locationnarrative>
171
                            <_merge>
172
                                <1>$locality</1>
173
                                <3>
174
                                    <_label>
175
                                        <label>habitat</label>
176
                                        <value>$habitat</value>
177
                                    </_label>
178
                                </3>
179
                            </_merge>
180
                        </locationnarrative>
181
                        <locationplace>
182
                            <place_id>
183
                                <place>
184
                                    <coordinates_id>
185
                                        <coordinates>
186
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
187
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
188
                                            <latitude_deg>
189
                                                <_nullIf>
190
                                                    <null>0</null>
191
                                                    <type>float</type>
192
                                                    <value>$decimalLatitude</value>
193
                                                </_nullIf>
194
                                            </latitude_deg>
195
                                            <longitude_deg>
196
                                                <_nullIf>
197
                                                    <null>0</null>
198
                                                    <type>float</type>
199
                                                    <value>$decimalLongitude</value>
200
                                                </_nullIf>
201
                                            </longitude_deg>
202
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
203
                                        </coordinates>
204
                                    </coordinates_id>
205
                                    <country>$country</country>
206
                                    <county>$county</county>
207
                                    <matched_place_id>
208
                                        <place>
209
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
210
                                            <coordinates_id>
211
                                                <coordinates>
212
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
213
                                                    <latitude_deg>
214
                                                        <_nullIf>
215
                                                            <null>0</null>
216
                                                            <type>float</type>
217
                                                            <value>$decimalLatitude</value>
218
                                                        </_nullIf>
219
                                                    </latitude_deg>
220
                                                    <longitude_deg>
221
                                                        <_nullIf>
222
                                                            <null>0</null>
223
                                                            <type>float</type>
224
                                                            <value>$decimalLongitude</value>
225
                                                        </_nullIf>
226
                                                    </longitude_deg>
227
                                                </coordinates>
228
                                            </coordinates_id>
229
                                            <country>$country</country>
230
                                            <county>$county</county>
231
                                            <stateprovince>$stateProvince</stateprovince>
232
                                        </place>
233
                                    </matched_place_id>
234
                                    <stateprovince>$stateProvince</stateprovince>
235
                                </place>
236
                            </place_id>
237
                        </locationplace>
238
                        <notespublic>$locationRemarks</notespublic>
239
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
240
                    </location>
241
                </path>
242
            </_simplifyPath>
243
        </path>
244
    </_setDefault>
245
</VegBIEN>
246
Inserted 40 new rows into database