Project

General

Profile

1 8072 aaronmk
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>MO.new</shortname></source></source_id>
5 8072 aaronmk
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10 10260 aaronmk
                        <authorlocationcode>$dataProviderRecordID</authorlocationcode>
11 8072 aaronmk
                        <elevation_m>
12
                            <_avg>
13 10260 aaronmk
                                <1>$minimumElevationInMeters</1>
14
                                <2>$maximumElevationInMeters</2>
15 8072 aaronmk
                            </_avg>
16
                        </elevation_m>
17
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
18
                        <locationevent>
19 11107 aaronmk
                            <locationevent fkey="parent_id">
20
                                <taxonoccurrence>
21
                                    <aggregateoccurrence>
22
                                        <plantobservation>
23
                                            <authorplantcode>$collectorNumber</authorplantcode>
24
                                            <reproductivecondition>$reproductiveCondition</reproductivecondition>
25
                                            <specimenreplicate>
26
                                                <collectionnumber>$collectorNumber</collectionnumber>
27
                                                <institution_id>
28
                                                    <sourcelist>
29
                                                        <name>$specimenHolderInstitutions</name>
30
                                                        <sourcename>
31
                                                            <name>
32
                                                                <_split>
33
                                                                    <separator>[,;] *</separator>
34
                                                                    <value>$specimenHolderInstitutions</value>
35
                                                                </_split>
36
                                                            </name>
37
                                                        </sourcename>
38
                                                    </sourcelist>
39
                                                </institution_id>
40
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
41
                                            </specimenreplicate>
42
                                        </plantobservation>
43
                                    </aggregateoccurrence>
44
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
45
                                    <iscultivated>$cultivated</iscultivated>
46
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
47
                                    <taxondetermination>
48
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
49
                                        <taxonverbatim_id>
50
                                            <taxonverbatim>
51
                                                <taxonlabel_id>
52
                                                    <taxonlabel>
53
                                                        <parent_id>
54
                                                            <taxonlabel>
55
                                                                <rank>$taxonRank</rank>
56
                                                                <parent_id>
57
                                                                    <taxonlabel>
58
                                                                        <rank>cultivar</rank>
59
                                                                        <parent_id>
60
                                                                            <taxonlabel>
61
                                                                                <rank>forma</rank>
62
                                                                                <parent_id>
63
                                                                                    <taxonlabel>
64
                                                                                        <rank>variety</rank>
65
                                                                                        <parent_id>
66
                                                                                            <taxonlabel>
67
                                                                                                <rank>subspecies</rank>
68
                                                                                                <parent_id>
69
                                                                                                    <taxonlabel>
70
                                                                                                        <rank>species</rank>
71
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
72
                                                                                                        <parent_id>
73
                                                                                                            <taxonlabel>
74
                                                                                                                <rank>genus</rank>
75
                                                                                                                <taxonepithet>$genus</taxonepithet>
76
                                                                                                                <parent_id>
77
                                                                                                                    <taxonlabel>
78
                                                                                                                        <rank>family</rank>
79
                                                                                                                        <taxonepithet>$family</taxonepithet>
80
                                                                                                                    </taxonlabel>
81
                                                                                                                </parent_id>
82
                                                                                                            </taxonlabel>
83
                                                                                                        </parent_id>
84
                                                                                                    </taxonlabel>
85
                                                                                                </parent_id>
86
                                                                                            </taxonlabel>
87
                                                                                        </parent_id>
88
                                                                                    </taxonlabel>
89
                                                                                </parent_id>
90
                                                                            </taxonlabel>
91
                                                                        </parent_id>
92
                                                                    </taxonlabel>
93
                                                                </parent_id>
94
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
95
                                                            </taxonlabel>
96
                                                        </parent_id>
97
                                                        <rank>$taxonRank</rank>
98
                                                        <sourceaccessioncode>$scientificNameID</sourceaccessioncode>
99
                                                        <taxonomicname>
100
                                                            <_merge_prefix>
101
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
102
                                                                <value>
103
                                                                    <_alt>
104
                                                                        <1>$scientificName</1>
105
                                                                        <2>
106
                                                                            <_alt>
107
                                                                                <1>$taxonName</1>
108
                                                                                <2>
109
                                                                                    <_join_words>
110
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
111
                                                                                        <3>$specificEpithet</3>
112
                                                                                        <5>
113
                                                                                            <_join_words>
114
                                                                                                <1>
115
                                                                                                    <_if name="if has infraspecificEpithet">
116
                                                                                                        <cond>$infraspecificEpithet</cond>
117
                                                                                                        <then>$taxonRank</then>
118
                                                                                                    </_if>
119
                                                                                                </1>
120
                                                                                                <2>$infraspecificEpithet</2>
121
                                                                                            </_join_words>
122
                                                                                        </5>
123
                                                                                    </_join_words>
124
                                                                                </2>
125
                                                                            </_alt>
126
                                                                        </2>
127
                                                                    </_alt>
128
                                                                </value>
129
                                                            </_merge_prefix>
130
                                                        </taxonomicname>
131
                                                    </taxonlabel>
132
                                                </taxonlabel_id>
133
                                                <family>$family</family>
134
                                                <genus>$genus</genus>
135
                                                <specific_epithet>$specificEpithet</specific_epithet>
136
                                                <taxonname>$taxonName</taxonname>
137
                                                <taxonomicname>$scientificName</taxonomicname>
138
                                                <verbatimrank>$taxonRank</verbatimrank>
139
                                            </taxonverbatim>
140
                                        </taxonverbatim_id>
141
                                        <determinationdate>
142
                                            <_date>
143
                                                <year>
144
                                                    <_nullIf>
145
                                                        <null>0</null>
146
                                                        <type>float</type>
147
                                                        <value>$yearIdentified</value>
148
                                                    </_nullIf>
149
                                                </year>
150
                                            </_date>
151
                                        </determinationdate>
152
                                        <taxonfit>$identificationQualifier</taxonfit>
153
                                    </taxondetermination>
154
                                </taxonoccurrence>
155
                            </locationevent>
156 8072 aaronmk
                        </locationevent>
157 8078 aaronmk
                        <locationnarrative>
158
                            <_merge>
159
                                <1>$locality</1>
160 10260 aaronmk
                                <4>$locationRemarks</4>
161 8078 aaronmk
                            </_merge>
162
                        </locationnarrative>
163 8072 aaronmk
                        <locationplace>
164
                            <place_id>
165
                                <place>
166
                                    <coordinates_id>
167
                                        <coordinates>
168
                                            <latitude_deg>
169
                                                <_nullIf>
170
                                                    <null>0</null>
171
                                                    <type>float</type>
172 10260 aaronmk
                                                    <value>$decimalLatitude</value>
173 8072 aaronmk
                                                </_nullIf>
174
                                            </latitude_deg>
175
                                            <longitude_deg>
176
                                                <_nullIf>
177
                                                    <null>0</null>
178
                                                    <type>float</type>
179 10260 aaronmk
                                                    <value>$decimalLongitude</value>
180 8072 aaronmk
                                                </_nullIf>
181
                                            </longitude_deg>
182
                                        </coordinates>
183
                                    </coordinates_id>
184
                                    <continent>$continent</continent>
185
                                    <country>$country</country>
186 10260 aaronmk
                                    <county>$county</county>
187 8072 aaronmk
                                    <matched_place_id>
188
                                        <place>
189
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
190
                                            <coordinates_id>
191
                                                <coordinates>
192
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
193
                                                    <latitude_deg>
194
                                                        <_nullIf>
195
                                                            <null>0</null>
196
                                                            <type>float</type>
197 10260 aaronmk
                                                            <value>$decimalLatitude</value>
198 8072 aaronmk
                                                        </_nullIf>
199
                                                    </latitude_deg>
200
                                                    <longitude_deg>
201
                                                        <_nullIf>
202
                                                            <null>0</null>
203
                                                            <type>float</type>
204 10260 aaronmk
                                                            <value>$decimalLongitude</value>
205 8072 aaronmk
                                                        </_nullIf>
206
                                                    </longitude_deg>
207
                                                </coordinates>
208
                                            </coordinates_id>
209
                                            <country>$country</country>
210 10260 aaronmk
                                            <county>$county</county>
211
                                            <stateprovince>$stateProvince</stateprovince>
212 8072 aaronmk
                                        </place>
213
                                    </matched_place_id>
214 10260 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
215 8072 aaronmk
                                </place>
216
                            </place_id>
217
                        </locationplace>
218
                    </location>
219
                </path>
220
            </_simplifyPath>
221
        </path>
222
    </_setDefault>
223
</VegBIEN>
224
Inserted 39 new rows into database