Revision 6403
Added by Aaron Marcuse-Kubitza over 11 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<_simplifyPath id="-1"> |
|
4 |
<next>parent_id</next> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<col>source_id</col> |
|
5 |
<value><source><shortname>GBIF</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<authorlocationcode> |
|
8 |
<_join> |
|
9 |
<1>$InstitutionCD</1> |
|
10 |
<2>$CollectionCD</2> |
|
11 |
<3>$CatalogNO</3> |
|
12 |
</_join> |
|
13 |
</authorlocationcode> |
|
14 |
<elevation_m> |
|
15 |
<_avg> |
|
16 |
<max>$MaximumElevationInMeter</max> |
|
17 |
<min>$MinimumElevationInMeter</min> |
|
18 |
</_avg> |
|
19 |
</elevation_m> |
|
20 |
<locationevent> |
|
21 |
<taxonoccurrence> |
|
22 |
<aggregateoccurrence> |
|
23 |
<collectiondate>$LatestDateCollected</collectiondate> |
|
24 |
<plantobservation> |
|
25 |
<specimenreplicate> |
|
26 |
<catalognumber_dwc>$CatalogNO</catalognumber_dwc> |
|
27 |
<collectioncode_dwc>$CollectionCD</collectioncode_dwc> |
|
28 |
<institution_id> |
|
29 |
<sourcename> |
|
30 |
<matched_source_id><source><shortname>$InstitutionCD</shortname></source></matched_source_id> |
|
31 |
<name>$InstitutionCD</name> |
|
32 |
</sourcename> |
|
33 |
</institution_id> |
|
34 |
</specimenreplicate> |
|
35 |
</plantobservation> |
|
36 |
</aggregateoccurrence> |
|
37 |
<collector_id><party><fullname>$Collector</fullname></party></collector_id> |
|
38 |
<taxondetermination> |
|
39 |
<party_id><party><fullname>$IdentifiedBy</fullname></party></party_id> |
|
40 |
<taxonverbatim_id> |
|
41 |
<taxonverbatim> |
|
42 |
<taxonlabel_id> |
|
43 |
<taxonlabel> |
|
44 |
<matched_label_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<authorlocationcode> |
|
12 |
<_join> |
|
13 |
<1>$InstitutionCD</1> |
|
14 |
<2>$CollectionCD</2> |
|
15 |
<3>$CatalogNO</3> |
|
16 |
</_join> |
|
17 |
</authorlocationcode> |
|
18 |
<elevation_m> |
|
19 |
<_avg> |
|
20 |
<max>$MaximumElevationInMeter</max> |
|
21 |
<min>$MinimumElevationInMeter</min> |
|
22 |
</_avg> |
|
23 |
</elevation_m> |
|
24 |
<locationevent> |
|
25 |
<taxonoccurrence> |
|
26 |
<aggregateoccurrence> |
|
27 |
<collectiondate>$LatestDateCollected</collectiondate> |
|
28 |
<plantobservation> |
|
29 |
<specimenreplicate> |
|
30 |
<catalognumber_dwc>$CatalogNO</catalognumber_dwc> |
|
31 |
<collectioncode_dwc>$CollectionCD</collectioncode_dwc> |
|
32 |
<institution_id> |
|
33 |
<sourcename> |
|
34 |
<matched_source_id><source><shortname>$InstitutionCD</shortname></source></matched_source_id> |
|
35 |
<name>$InstitutionCD</name> |
|
36 |
</sourcename> |
|
37 |
</institution_id> |
|
38 |
</specimenreplicate> |
|
39 |
</plantobservation> |
|
40 |
</aggregateoccurrence> |
|
41 |
<collector_id><party><fullname>$Collector</fullname></party></collector_id> |
|
42 |
<taxondetermination> |
|
43 |
<party_id><party><fullname>$IdentifiedBy</fullname></party></party_id> |
|
44 |
<taxonverbatim_id> |
|
45 |
<taxonverbatim> |
|
46 |
<taxonlabel_id> |
|
45 | 47 |
<taxonlabel> |
46 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
48 |
<matched_label_id> |
|
49 |
<taxonlabel> |
|
50 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
51 |
<taxonomicname> |
|
52 |
<_join_words> |
|
53 |
<1> |
|
54 |
<_taxon_family_require_std> |
|
55 |
<family> |
|
56 |
<_nullIf> |
|
57 |
<null>$ScientificName</null> |
|
58 |
<value>$Family</value> |
|
59 |
</_nullIf> |
|
60 |
</family> |
|
61 |
</_taxon_family_require_std> |
|
62 |
</1> |
|
63 |
<2> |
|
64 |
<_join_words> |
|
65 |
<1> |
|
66 |
<_alt> |
|
67 |
<1>$ScientificName</1> |
|
68 |
<2> |
|
69 |
<_join_words> |
|
70 |
<2>$Genus</2> |
|
71 |
<3>$SpecificEpithet</3> |
|
72 |
<5>$InfraspecificEpithet</5> |
|
73 |
</_join_words> |
|
74 |
</2> |
|
75 |
</_alt> |
|
76 |
</1> |
|
77 |
<2>$AuthorOfScientificName</2> |
|
78 |
</_join_words> |
|
79 |
</2> |
|
80 |
</_join_words> |
|
81 |
</taxonomicname> |
|
82 |
</taxonlabel> |
|
83 |
</matched_label_id> |
|
84 |
<parent_id> |
|
85 |
<taxonlabel> |
|
86 |
<parent_id> |
|
87 |
<taxonlabel> |
|
88 |
<rank>cultivar</rank> |
|
89 |
<parent_id> |
|
90 |
<taxonlabel> |
|
91 |
<rank>forma</rank> |
|
92 |
<parent_id> |
|
93 |
<taxonlabel> |
|
94 |
<rank>variety</rank> |
|
95 |
<parent_id> |
|
96 |
<taxonlabel> |
|
97 |
<rank>subspecies</rank> |
|
98 |
<parent_id> |
|
99 |
<taxonlabel> |
|
100 |
<rank>species</rank> |
|
101 |
<taxonepithet>$SpecificEpithet</taxonepithet> |
|
102 |
<parent_id> |
|
103 |
<taxonlabel> |
|
104 |
<rank>genus</rank> |
|
105 |
<taxonepithet>$Genus</taxonepithet> |
|
106 |
<parent_id> |
|
107 |
<taxonlabel> |
|
108 |
<rank>family</rank> |
|
109 |
<taxonepithet>$Family</taxonepithet> |
|
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 |
</taxonlabel> |
|
123 |
</parent_id> |
|
124 |
<taxonepithet>$InfraspecificEpithet</taxonepithet> |
|
125 |
</taxonlabel> |
|
126 |
</parent_id> |
|
47 | 127 |
<taxonomicname> |
48 | 128 |
<_join_words> |
49 | 129 |
<1> |
... | ... | |
76 | 156 |
</_join_words> |
77 | 157 |
</taxonomicname> |
78 | 158 |
</taxonlabel> |
79 |
</matched_label_id> |
|
80 |
<parent_id> |
|
159 |
</taxonlabel_id> |
|
160 |
<author>$AuthorOfScientificName</author> |
|
161 |
<family>$Family</family> |
|
162 |
<genus>$Genus</genus> |
|
163 |
<specific_epithet>$SpecificEpithet</specific_epithet> |
|
164 |
<taxonname>$ScientificName</taxonname> |
|
165 |
</taxonverbatim> |
|
166 |
</taxonverbatim_id> |
|
167 |
</taxondetermination> |
|
168 |
<taxondetermination> |
|
169 |
<isoriginal>true</isoriginal> |
|
170 |
<taxonverbatim_id> |
|
171 |
<taxonverbatim> |
|
172 |
<taxonlabel_id> |
|
81 | 173 |
<taxonlabel> |
174 |
<matched_label_id> |
|
175 |
<taxonlabel> |
|
176 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
177 |
<taxonomicname> |
|
178 |
<_join_words> |
|
179 |
<1> |
|
180 |
<_taxon_family_require_std> |
|
181 |
<family> |
|
182 |
<_nullIf> |
|
183 |
<null>$ScientificNameOriginal</null> |
|
184 |
<value>$GBIFFamilyOriginal</value> |
|
185 |
</_nullIf> |
|
186 |
</family> |
|
187 |
</_taxon_family_require_std> |
|
188 |
</1> |
|
189 |
<2> |
|
190 |
<_alt> |
|
191 |
<1>$ScientificNameOriginal</1> |
|
192 |
<2>$GBIFGenusOriginal</2> |
|
193 |
</_alt> |
|
194 |
</2> |
|
195 |
</_join_words> |
|
196 |
</taxonomicname> |
|
197 |
</taxonlabel> |
|
198 |
</matched_label_id> |
|
82 | 199 |
<parent_id> |
83 | 200 |
<taxonlabel> |
84 |
<rank>cultivar</rank> |
|
85 | 201 |
<parent_id> |
86 | 202 |
<taxonlabel> |
87 |
<rank>forma</rank>
|
|
203 |
<rank>cultivar</rank>
|
|
88 | 204 |
<parent_id> |
89 | 205 |
<taxonlabel> |
90 |
<rank>variety</rank>
|
|
206 |
<rank>forma</rank>
|
|
91 | 207 |
<parent_id> |
92 | 208 |
<taxonlabel> |
93 |
<rank>subspecies</rank>
|
|
209 |
<rank>variety</rank>
|
|
94 | 210 |
<parent_id> |
95 | 211 |
<taxonlabel> |
96 |
<rank>species</rank> |
|
97 |
<taxonepithet>$SpecificEpithet</taxonepithet> |
|
212 |
<rank>subspecies</rank> |
|
98 | 213 |
<parent_id> |
99 | 214 |
<taxonlabel> |
100 |
<rank>genus</rank> |
|
101 |
<taxonepithet>$Genus</taxonepithet> |
|
215 |
<rank>species</rank> |
|
102 | 216 |
<parent_id> |
103 | 217 |
<taxonlabel> |
104 |
<rank>family</rank> |
|
105 |
<taxonepithet>$Family</taxonepithet> |
|
218 |
<rank>genus</rank> |
|
219 |
<taxonepithet>$GBIFGenusOriginal</taxonepithet> |
|
220 |
<parent_id> |
|
221 |
<taxonlabel> |
|
222 |
<rank>family</rank> |
|
223 |
<taxonepithet>$GBIFFamilyOriginal</taxonepithet> |
|
224 |
</taxonlabel> |
|
225 |
</parent_id> |
|
106 | 226 |
</taxonlabel> |
107 | 227 |
</parent_id> |
108 | 228 |
</taxonlabel> |
... | ... | |
117 | 237 |
</parent_id> |
118 | 238 |
</taxonlabel> |
119 | 239 |
</parent_id> |
120 |
<taxonepithet>$InfraspecificEpithet</taxonepithet> |
|
121 |
</taxonlabel> |
|
122 |
</parent_id> |
|
123 |
<taxonomicname> |
|
124 |
<_join_words> |
|
125 |
<1> |
|
126 |
<_taxon_family_require_std> |
|
127 |
<family> |
|
128 |
<_nullIf> |
|
129 |
<null>$ScientificName</null> |
|
130 |
<value>$Family</value> |
|
131 |
</_nullIf> |
|
132 |
</family> |
|
133 |
</_taxon_family_require_std> |
|
134 |
</1> |
|
135 |
<2> |
|
136 |
<_join_words> |
|
137 |
<1> |
|
138 |
<_alt> |
|
139 |
<1>$ScientificName</1> |
|
140 |
<2> |
|
141 |
<_join_words> |
|
142 |
<2>$Genus</2> |
|
143 |
<3>$SpecificEpithet</3> |
|
144 |
<5>$InfraspecificEpithet</5> |
|
145 |
</_join_words> |
|
146 |
</2> |
|
147 |
</_alt> |
|
148 |
</1> |
|
149 |
<2>$AuthorOfScientificName</2> |
|
150 |
</_join_words> |
|
151 |
</2> |
|
152 |
</_join_words> |
|
153 |
</taxonomicname> |
|
154 |
</taxonlabel> |
|
155 |
</taxonlabel_id> |
|
156 |
<author>$AuthorOfScientificName</author> |
|
157 |
<family>$Family</family> |
|
158 |
<genus>$Genus</genus> |
|
159 |
<specific_epithet>$SpecificEpithet</specific_epithet> |
|
160 |
<taxonname>$ScientificName</taxonname> |
|
161 |
</taxonverbatim> |
|
162 |
</taxonverbatim_id> |
|
163 |
</taxondetermination> |
|
164 |
<taxondetermination> |
|
165 |
<isoriginal>true</isoriginal> |
|
166 |
<taxonverbatim_id> |
|
167 |
<taxonverbatim> |
|
168 |
<taxonlabel_id> |
|
169 |
<taxonlabel> |
|
170 |
<matched_label_id> |
|
171 |
<taxonlabel> |
|
172 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
173 | 240 |
<taxonomicname> |
174 | 241 |
<_join_words> |
175 | 242 |
<1> |
... | ... | |
191 | 258 |
</_join_words> |
192 | 259 |
</taxonomicname> |
193 | 260 |
</taxonlabel> |
194 |
</matched_label_id> |
|
195 |
<parent_id> |
|
196 |
<taxonlabel> |
|
197 |
<parent_id> |
|
198 |
<taxonlabel> |
|
199 |
<rank>cultivar</rank> |
|
200 |
<parent_id> |
|
201 |
<taxonlabel> |
|
202 |
<rank>forma</rank> |
|
203 |
<parent_id> |
|
204 |
<taxonlabel> |
|
205 |
<rank>variety</rank> |
|
206 |
<parent_id> |
|
207 |
<taxonlabel> |
|
208 |
<rank>subspecies</rank> |
|
209 |
<parent_id> |
|
210 |
<taxonlabel> |
|
211 |
<rank>species</rank> |
|
212 |
<parent_id> |
|
213 |
<taxonlabel> |
|
214 |
<rank>genus</rank> |
|
215 |
<taxonepithet>$GBIFGenusOriginal</taxonepithet> |
|
216 |
<parent_id> |
|
217 |
<taxonlabel> |
|
218 |
<rank>family</rank> |
|
219 |
<taxonepithet>$GBIFFamilyOriginal</taxonepithet> |
|
220 |
</taxonlabel> |
|
221 |
</parent_id> |
|
222 |
</taxonlabel> |
|
223 |
</parent_id> |
|
224 |
</taxonlabel> |
|
225 |
</parent_id> |
|
226 |
</taxonlabel> |
|
227 |
</parent_id> |
|
228 |
</taxonlabel> |
|
229 |
</parent_id> |
|
230 |
</taxonlabel> |
|
231 |
</parent_id> |
|
232 |
</taxonlabel> |
|
233 |
</parent_id> |
|
234 |
</taxonlabel> |
|
235 |
</parent_id> |
|
236 |
<taxonomicname> |
|
237 |
<_join_words> |
|
238 |
<1> |
|
239 |
<_taxon_family_require_std> |
|
240 |
<family> |
|
241 |
<_nullIf> |
|
242 |
<null>$ScientificNameOriginal</null> |
|
243 |
<value>$GBIFFamilyOriginal</value> |
|
244 |
</_nullIf> |
|
245 |
</family> |
|
246 |
</_taxon_family_require_std> |
|
247 |
</1> |
|
248 |
<2> |
|
249 |
<_alt> |
|
250 |
<1>$ScientificNameOriginal</1> |
|
251 |
<2>$GBIFGenusOriginal</2> |
|
252 |
</_alt> |
|
253 |
</2> |
|
254 |
</_join_words> |
|
255 |
</taxonomicname> |
|
256 |
</taxonlabel> |
|
257 |
</taxonlabel_id> |
|
258 |
<family>$GBIFFamilyOriginal</family> |
|
259 |
<genus>$GBIFGenusOriginal</genus> |
|
260 |
<taxonname>$ScientificNameOriginal</taxonname> |
|
261 |
</taxonverbatim> |
|
262 |
</taxonverbatim_id> |
|
263 |
</taxondetermination> |
|
264 |
</taxonoccurrence> |
|
265 |
</locationevent> |
|
266 |
<locationnarrative>$Locality</locationnarrative> |
|
267 |
<locationplace> |
|
268 |
<place_id> |
|
269 |
<place> |
|
270 |
<coordinates_id> |
|
271 |
<coordinates> |
|
272 |
<latitude_deg> |
|
273 |
<_nullIf> |
|
274 |
<null>0</null> |
|
275 |
<type>float</type> |
|
276 |
<value>$VerbatimLatitude</value> |
|
277 |
</_nullIf> |
|
278 |
</latitude_deg> |
|
279 |
<longitude_deg> |
|
280 |
<_nullIf> |
|
281 |
<null>0</null> |
|
282 |
<type>float</type> |
|
283 |
<value>$VerbatimLongitude</value> |
|
284 |
</_nullIf> |
|
285 |
</longitude_deg> |
|
286 |
</coordinates> |
|
287 |
</coordinates_id> |
|
288 |
<country>$Country</country> |
|
289 |
<county>$County</county> |
|
290 |
<matched_place_id> |
|
261 |
</taxonlabel_id> |
|
262 |
<family>$GBIFFamilyOriginal</family> |
|
263 |
<genus>$GBIFGenusOriginal</genus> |
|
264 |
<taxonname>$ScientificNameOriginal</taxonname> |
|
265 |
</taxonverbatim> |
|
266 |
</taxonverbatim_id> |
|
267 |
</taxondetermination> |
|
268 |
</taxonoccurrence> |
|
269 |
</locationevent> |
|
270 |
<locationnarrative>$Locality</locationnarrative> |
|
271 |
<locationplace> |
|
272 |
<place_id> |
|
291 | 273 |
<place> |
292 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
293 | 274 |
<coordinates_id> |
294 | 275 |
<coordinates> |
295 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
296 | 276 |
<latitude_deg> |
297 | 277 |
<_nullIf> |
298 | 278 |
<null>0</null> |
... | ... | |
311 | 291 |
</coordinates_id> |
312 | 292 |
<country>$Country</country> |
313 | 293 |
<county>$County</county> |
294 |
<matched_place_id> |
|
295 |
<place> |
|
296 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
297 |
<coordinates_id> |
|
298 |
<coordinates> |
|
299 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
300 |
<latitude_deg> |
|
301 |
<_nullIf> |
|
302 |
<null>0</null> |
|
303 |
<type>float</type> |
|
304 |
<value>$VerbatimLatitude</value> |
|
305 |
</_nullIf> |
|
306 |
</latitude_deg> |
|
307 |
<longitude_deg> |
|
308 |
<_nullIf> |
|
309 |
<null>0</null> |
|
310 |
<type>float</type> |
|
311 |
<value>$VerbatimLongitude</value> |
|
312 |
</_nullIf> |
|
313 |
</longitude_deg> |
|
314 |
</coordinates> |
|
315 |
</coordinates_id> |
|
316 |
<country>$Country</country> |
|
317 |
<county>$County</county> |
|
318 |
<stateprovince>$StateProvince</stateprovince> |
|
319 |
</place> |
|
320 |
</matched_place_id> |
|
314 | 321 |
<stateprovince>$StateProvince</stateprovince> |
315 | 322 |
</place> |
316 |
</matched_place_id> |
|
317 |
<stateprovince>$StateProvince</stateprovince> |
|
318 |
</place> |
|
319 |
</place_id> |
|
320 |
</locationplace> |
|
321 |
</location> |
|
323 |
</place_id> |
|
324 |
</locationplace> |
|
325 |
</location> |
|
326 |
</path> |
|
327 |
</_simplifyPath> |
|
322 | 328 |
</path> |
323 |
</_simplifyPath>
|
|
329 |
</_setDefault>
|
|
324 | 330 |
</VegBIEN> |
325 | 331 |
Inserted 47 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Set the source_id col_default to the datasource name using the new _setDefault() built-in function and _env()