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>CVS</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<authorlocationcode>$authorObsCode</authorlocationcode> |
|
8 |
<locationevent> |
|
9 |
<authoreventcode>$authorObsCode</authoreventcode> |
|
10 |
<obsstartdate>$obsStartDate</obsstartdate> |
|
11 |
<taxonoccurrence> |
|
12 |
<aggregateoccurrence><cover_fraction><_percent_to_fraction><value>$%cover</value></_percent_to_fraction></cover_fraction></aggregateoccurrence> |
|
13 |
<authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode> |
|
14 |
<taxondetermination> |
|
15 |
<taxonverbatim_id> |
|
16 |
<taxonverbatim> |
|
17 |
<taxonlabel_id> |
|
18 |
<taxonlabel> |
|
19 |
<matched_label_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<authorlocationcode>$authorObsCode</authorlocationcode> |
|
12 |
<locationevent> |
|
13 |
<authoreventcode>$authorObsCode</authoreventcode> |
|
14 |
<obsstartdate>$obsStartDate</obsstartdate> |
|
15 |
<taxonoccurrence> |
|
16 |
<aggregateoccurrence><cover_fraction><_percent_to_fraction><value>$%cover</value></_percent_to_fraction></cover_fraction></aggregateoccurrence> |
|
17 |
<authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode> |
|
18 |
<taxondetermination> |
|
19 |
<taxonverbatim_id> |
|
20 |
<taxonverbatim> |
|
21 |
<taxonlabel_id> |
|
20 | 22 |
<taxonlabel> |
21 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
23 |
<matched_label_id> |
|
24 |
<taxonlabel> |
|
25 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
26 |
<taxonomicname>$currentTaxonName sec Weakley 2006</taxonomicname> |
|
27 |
</taxonlabel> |
|
28 |
</matched_label_id> |
|
22 | 29 |
<taxonomicname>$currentTaxonName sec Weakley 2006</taxonomicname> |
23 | 30 |
</taxonlabel> |
24 |
</matched_label_id> |
|
25 |
<taxonomicname>$currentTaxonName sec Weakley 2006</taxonomicname> |
|
26 |
</taxonlabel> |
|
27 |
</taxonlabel_id> |
|
28 |
<taxonname>$currentTaxonName sec Weakley 2006</taxonname> |
|
29 |
</taxonverbatim> |
|
30 |
</taxonverbatim_id> |
|
31 |
</taxondetermination> |
|
32 |
</taxonoccurrence> |
|
33 |
</locationevent> |
|
34 |
<locationplace> |
|
35 |
<place_id> |
|
36 |
<place> |
|
37 |
<coordinates_id> |
|
38 |
<coordinates> |
|
39 |
<coordsaccuracy_m><_noCV><value>$locationAccuracy-m</value></_noCV></coordsaccuracy_m> |
|
40 |
<latitude_deg> |
|
41 |
<_nullIf> |
|
42 |
<null>0</null> |
|
43 |
<type>float</type> |
|
44 |
<value>$publicLatitude</value> |
|
45 |
</_nullIf> |
|
46 |
</latitude_deg> |
|
47 |
<longitude_deg> |
|
48 |
<_nullIf> |
|
49 |
<null>0</null> |
|
50 |
<type>float</type> |
|
51 |
<value>$publicLongitude</value> |
|
52 |
</_nullIf> |
|
53 |
</longitude_deg> |
|
54 |
</coordinates> |
|
55 |
</coordinates_id> |
|
56 |
<county>$county</county> |
|
57 |
<matched_place_id> |
|
31 |
</taxonlabel_id> |
|
32 |
<taxonname>$currentTaxonName sec Weakley 2006</taxonname> |
|
33 |
</taxonverbatim> |
|
34 |
</taxonverbatim_id> |
|
35 |
</taxondetermination> |
|
36 |
</taxonoccurrence> |
|
37 |
</locationevent> |
|
38 |
<locationplace> |
|
39 |
<place_id> |
|
58 | 40 |
<place> |
59 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
60 | 41 |
<coordinates_id> |
61 | 42 |
<coordinates> |
62 |
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
|
43 |
<coordsaccuracy_m><_noCV><value>$locationAccuracy-m</value></_noCV></coordsaccuracy_m>
|
|
63 | 44 |
<latitude_deg> |
64 | 45 |
<_nullIf> |
65 | 46 |
<null>0</null> |
... | ... | |
77 | 58 |
</coordinates> |
78 | 59 |
</coordinates_id> |
79 | 60 |
<county>$county</county> |
61 |
<matched_place_id> |
|
62 |
<place> |
|
63 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
64 |
<coordinates_id> |
|
65 |
<coordinates> |
|
66 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
67 |
<latitude_deg> |
|
68 |
<_nullIf> |
|
69 |
<null>0</null> |
|
70 |
<type>float</type> |
|
71 |
<value>$publicLatitude</value> |
|
72 |
</_nullIf> |
|
73 |
</latitude_deg> |
|
74 |
<longitude_deg> |
|
75 |
<_nullIf> |
|
76 |
<null>0</null> |
|
77 |
<type>float</type> |
|
78 |
<value>$publicLongitude</value> |
|
79 |
</_nullIf> |
|
80 |
</longitude_deg> |
|
81 |
</coordinates> |
|
82 |
</coordinates_id> |
|
83 |
<county>$county</county> |
|
84 |
<stateprovince>$state</stateprovince> |
|
85 |
</place> |
|
86 |
</matched_place_id> |
|
80 | 87 |
<stateprovince>$state</stateprovince> |
81 | 88 |
</place> |
82 |
</matched_place_id> |
|
83 |
<stateprovince>$state</stateprovince> |
|
84 |
</place> |
|
85 |
</place_id> |
|
86 |
</locationplace> |
|
87 |
</location> |
|
89 |
</place_id> |
|
90 |
</locationplace> |
|
91 |
</location> |
|
92 |
</path> |
|
93 |
</_simplifyPath> |
|
88 | 94 |
</path> |
89 |
</_simplifyPath>
|
|
95 |
</_setDefault>
|
|
90 | 96 |
</VegBIEN> |
91 | 97 |
Inserted 22 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()