Project

General

Profile

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