Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 3641 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>REMIB.new</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12 12879 aaronmk
                                <1>$specimen_duplicate_institutions</1>
13 10349 aaronmk
                                <3>$accessionNumber</3>
14 6403 aaronmk
                            </_join>
15
                        </authorlocationcode>
16 6432 aaronmk
                        <iscultivated>
17
                            <_locationnarrative_is_cultivated>
18
                                <locationnarrative>
19
                                    <_join>
20 10339 aaronmk
                                        <1>$locality</1>
21
                                        <3>$habitat</3>
22 6432 aaronmk
                                    </_join>
23
                                </locationnarrative>
24
                            </_locationnarrative_is_cultivated>
25
                        </iscultivated>
26 6403 aaronmk
                        <locationevent>
27 11107 aaronmk
                            <locationevent fkey="parent_id">
28
                                <taxonoccurrence>
29
                                    <aggregateoccurrence>
30
                                        <collectiondate>
31
                                            <_date>
32
                                                <day>
33
                                                    <_nullIf>
34
                                                        <null>0</null>
35
                                                        <type>float</type>
36
                                                        <value>$dayCollected</value>
37
                                                    </_nullIf>
38
                                                </day>
39
                                                <month>
40
                                                    <_nullIf>
41
                                                        <null>0</null>
42
                                                        <type>float</type>
43
                                                        <value>$monthCollected</value>
44
                                                    </_nullIf>
45
                                                </month>
46
                                                <year>
47
                                                    <_nullIf>
48
                                                        <null>0</null>
49
                                                        <type>float</type>
50
                                                        <value>$yearCollected</value>
51
                                                    </_nullIf>
52
                                                </year>
53
                                            </_date>
54
                                        </collectiondate>
55
                                        <plantobservation>
56
                                            <specimenreplicate>
57
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
58 12886 aaronmk
                                                <duplicate_institutions_sourcelist_id>
59 11107 aaronmk
                                                    <sourcelist>
60 12879 aaronmk
                                                        <name>$specimen_duplicate_institutions</name>
61 11107 aaronmk
                                                        <sourcename>
62
                                                            <name>
63
                                                                <_split>
64
                                                                    <separator>[,;] *</separator>
65 12879 aaronmk
                                                                    <value>$specimen_duplicate_institutions</value>
66 11107 aaronmk
                                                                </_split>
67
                                                            </name>
68
                                                        </sourcename>
69
                                                    </sourcelist>
70 12886 aaronmk
                                                </duplicate_institutions_sourcelist_id>
71 11107 aaronmk
                                            </specimenreplicate>
72
                                        </plantobservation>
73
                                    </aggregateoccurrence>
74
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
75
                                    <taxondetermination>
76
                                        <taxonverbatim_id>
77
                                            <taxonverbatim>
78
                                                <taxonlabel_id>
79
                                                    <taxonlabel>
80
                                                        <parent_id>
81
                                                            <taxonlabel>
82
                                                                <parent_id>
83
                                                                    <taxonlabel>
84
                                                                        <rank>cultivar</rank>
85
                                                                        <parent_id>
86
                                                                            <taxonlabel>
87
                                                                                <rank>forma</rank>
88
                                                                                <parent_id>
89
                                                                                    <taxonlabel>
90
                                                                                        <rank>variety</rank>
91
                                                                                        <parent_id>
92
                                                                                            <taxonlabel>
93
                                                                                                <rank>subspecies</rank>
94
                                                                                                <parent_id>
95
                                                                                                    <taxonlabel>
96
                                                                                                        <rank>species</rank>
97
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
98
                                                                                                        <parent_id>
99
                                                                                                            <taxonlabel>
100
                                                                                                                <rank>genus</rank>
101
                                                                                                                <taxonepithet>$genus</taxonepithet>
102
                                                                                                                <parent_id>
103
                                                                                                                    <taxonlabel>
104
                                                                                                                        <rank>family</rank>
105
                                                                                                                        <taxonepithet>$family</taxonepithet>
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
                                                                    </taxonlabel>
119
                                                                </parent_id>
120
                                                            </taxonlabel>
121
                                                        </parent_id>
122
                                                        <taxonomicname>
123
                                                            <_merge_prefix>
124
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
125
                                                                <value>
126
                                                                    <_join_words>
127
                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
128
                                                                        <3>$specificEpithet</3>
129
                                                                    </_join_words>
130
                                                                </value>
131
                                                            </_merge_prefix>
132
                                                        </taxonomicname>
133
                                                    </taxonlabel>
134
                                                </taxonlabel_id>
135
                                                <family>$family</family>
136
                                                <genus>$genus</genus>
137
                                                <specific_epithet>$specificEpithet</specific_epithet>
138
                                            </taxonverbatim>
139
                                        </taxonverbatim_id>
140
                                    </taxondetermination>
141
                                </taxonoccurrence>
142
                            </locationevent>
143 6403 aaronmk
                        </locationevent>
144
                        <locationnarrative>
145
                            <_merge>
146 10339 aaronmk
                                <1>$locality</1>
147 6403 aaronmk
                                <3>
148
                                    <_label>
149
                                        <label>habitat</label>
150 10339 aaronmk
                                        <value>$habitat</value>
151 6403 aaronmk
                                    </_label>
152
                                </3>
153
                            </_merge>
154
                        </locationnarrative>
155
                        <locationplace>
156
                            <place_id>
157 5958 aaronmk
                                <place>
158
                                    <coordinates_id>
159
                                        <coordinates>
160 5969 aaronmk
                                            <latitude_deg>
161 7669 aaronmk
                                                <_dms_to_dd>
162 10339 aaronmk
                                                    <deg>$latitude_deg</deg>
163
                                                    <min>$latitude_min</min>
164
                                                    <sec>$latitude_sec</sec>
165 7669 aaronmk
                                                </_dms_to_dd>
166 5969 aaronmk
                                            </latitude_deg>
167
                                            <longitude_deg>
168 7669 aaronmk
                                                <_dms_to_dd>
169 10339 aaronmk
                                                    <deg>$longitude_deg</deg>
170
                                                    <min>$longitude_min</min>
171
                                                    <sec>$longitude_sec</sec>
172 7669 aaronmk
                                                </_dms_to_dd>
173 5969 aaronmk
                                            </longitude_deg>
174 5958 aaronmk
                                        </coordinates>
175
                                    </coordinates_id>
176 10339 aaronmk
                                    <country>$country</country>
177
                                    <county>$county</county>
178 6403 aaronmk
                                    <matched_place_id>
179
                                        <place>
180
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
181
                                            <coordinates_id>
182
                                                <coordinates>
183
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
184
                                                    <latitude_deg>
185 7669 aaronmk
                                                        <_dms_to_dd>
186 10339 aaronmk
                                                            <deg>$latitude_deg</deg>
187
                                                            <min>$latitude_min</min>
188
                                                            <sec>$latitude_sec</sec>
189 7669 aaronmk
                                                        </_dms_to_dd>
190 6403 aaronmk
                                                    </latitude_deg>
191
                                                    <longitude_deg>
192 7669 aaronmk
                                                        <_dms_to_dd>
193 10339 aaronmk
                                                            <deg>$longitude_deg</deg>
194
                                                            <min>$longitude_min</min>
195
                                                            <sec>$longitude_sec</sec>
196 7669 aaronmk
                                                        </_dms_to_dd>
197 6403 aaronmk
                                                    </longitude_deg>
198
                                                </coordinates>
199
                                            </coordinates_id>
200 10339 aaronmk
                                            <country>$country</country>
201
                                            <county>$county</county>
202
                                            <stateprovince>$stateProvince</stateprovince>
203 6403 aaronmk
                                        </place>
204
                                    </matched_place_id>
205 10339 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
206 5958 aaronmk
                                </place>
207 6403 aaronmk
                            </place_id>
208
                        </locationplace>
209
                    </location>
210
                </path>
211
            </_simplifyPath>
212 4621 aaronmk
        </path>
213 6403 aaronmk
    </_setDefault>
214 3641 aaronmk
</VegBIEN>
215 7718 aaronmk
Inserted 29 new rows into database