Revision 3780
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.xml.ref | ||
---|---|---|
5 | 5 |
<locationevent> |
6 | 6 |
<location_id> |
7 | 7 |
<location> |
8 |
<locationdetermination> |
|
9 |
<latitude> |
|
10 |
<_alt> |
|
11 |
<1> |
|
12 |
<_nullIf> |
|
13 |
<null>0</null> |
|
14 |
<type>float</type> |
|
15 |
<value>$latitude</value> |
|
16 |
</_nullIf> |
|
17 |
</1> |
|
18 |
</_alt> |
|
19 |
</latitude> |
|
20 |
<longitude> |
|
21 |
<_alt> |
|
22 |
<1> |
|
23 |
<_nullIf> |
|
24 |
<null>0</null> |
|
25 |
<type>float</type> |
|
26 |
<value>$longitude</value> |
|
27 |
</_nullIf> |
|
28 |
</1> |
|
29 |
</_alt> |
|
30 |
</longitude> |
|
31 |
<namedplace_id> |
|
32 |
<_simplifyPath> |
|
33 |
<next>parent_id/namedplace</next> |
|
34 |
<require>placename</require> |
|
35 |
<path> |
|
36 |
<namedplace> |
|
37 |
<rank>county</rank> |
|
38 |
<placename>$County</placename> |
|
39 |
<parent_id> |
|
40 |
<namedplace> |
|
41 |
<rank>stateProvince</rank> |
|
42 |
<placename>$StateProvince</placename> |
|
43 |
<parent_id> |
|
44 |
<namedplace> |
|
45 |
<rank>country</rank> |
|
46 |
<placename>$Country</placename> |
|
47 |
<parent_id> |
|
48 |
<namedplace> |
|
49 |
<rank>continent</rank> |
|
50 |
<placename>$ContinentOcean</placename> |
|
51 |
</namedplace> |
|
52 |
</parent_id> |
|
53 |
</namedplace> |
|
54 |
</parent_id> |
|
55 |
</namedplace> |
|
56 |
</parent_id> |
|
57 |
</namedplace> |
|
58 |
</path> |
|
59 |
</_simplifyPath> |
|
60 |
</namedplace_id> |
|
61 |
</locationdetermination> |
|
62 |
<locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative> |
|
63 | 8 |
<elevation> |
64 | 9 |
<_alt> |
65 | 10 |
<2> |
66 | 11 |
<_avg> |
12 |
<max> |
|
13 |
<_units> |
|
14 |
<default>m</default> |
|
15 |
<to>m</to> |
|
16 |
<to></to> |
|
17 |
<value>$MaximumElevation</value> |
|
18 |
</_units> |
|
19 |
</max> |
|
67 | 20 |
<min> |
68 | 21 |
<_units> |
69 | 22 |
<default>m</default> |
... | ... | |
81 | 34 |
</value> |
82 | 35 |
</_units> |
83 | 36 |
</min> |
84 |
<max> |
|
85 |
<_units> |
|
86 |
<default>m</default> |
|
87 |
<to>m</to> |
|
88 |
<to></to> |
|
89 |
<value>$MaximumElevation</value> |
|
90 |
</_units> |
|
91 |
</max> |
|
92 | 37 |
</_avg> |
93 | 38 |
</2> |
94 | 39 |
</_alt> |
... | ... | |
119 | 64 |
<to></to> |
120 | 65 |
<value> |
121 | 66 |
<_alt> |
67 |
<1>$MaximumElevation</1> |
|
122 | 68 |
<2> |
123 | 69 |
<_rangeEnd> |
124 | 70 |
<value> |
... | ... | |
129 | 75 |
</value> |
130 | 76 |
</_rangeEnd> |
131 | 77 |
</2> |
132 |
<1>$MaximumElevation</1> |
|
133 | 78 |
</_alt> |
134 | 79 |
</value> |
135 | 80 |
</_units> |
136 | 81 |
</to> |
137 | 82 |
</_range> |
138 | 83 |
</elevationrange> |
84 |
<locationdetermination> |
|
85 |
<latitude> |
|
86 |
<_alt> |
|
87 |
<1> |
|
88 |
<_nullIf> |
|
89 |
<null>0</null> |
|
90 |
<type>float</type> |
|
91 |
<value>$latitude</value> |
|
92 |
</_nullIf> |
|
93 |
</1> |
|
94 |
</_alt> |
|
95 |
</latitude> |
|
96 |
<longitude> |
|
97 |
<_alt> |
|
98 |
<1> |
|
99 |
<_nullIf> |
|
100 |
<null>0</null> |
|
101 |
<type>float</type> |
|
102 |
<value>$longitude</value> |
|
103 |
</_nullIf> |
|
104 |
</1> |
|
105 |
</_alt> |
|
106 |
</longitude> |
|
107 |
<namedplace_id> |
|
108 |
<_simplifyPath> |
|
109 |
<next>parent_id/namedplace</next> |
|
110 |
<require>placename</require> |
|
111 |
<path> |
|
112 |
<namedplace> |
|
113 |
<rank>county</rank> |
|
114 |
<placename>$County</placename> |
|
115 |
<parent_id> |
|
116 |
<namedplace> |
|
117 |
<rank>stateProvince</rank> |
|
118 |
<placename>$StateProvince</placename> |
|
119 |
<parent_id> |
|
120 |
<namedplace> |
|
121 |
<rank>country</rank> |
|
122 |
<placename>$Country</placename> |
|
123 |
<parent_id> |
|
124 |
<namedplace> |
|
125 |
<rank>continent</rank> |
|
126 |
<placename>$ContinentOcean</placename> |
|
127 |
</namedplace> |
|
128 |
</parent_id> |
|
129 |
</namedplace> |
|
130 |
</parent_id> |
|
131 |
</namedplace> |
|
132 |
</parent_id> |
|
133 |
</namedplace> |
|
134 |
</path> |
|
135 |
</_simplifyPath> |
|
136 |
</namedplace_id> |
|
137 |
</locationdetermination> |
|
138 |
<locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative> |
|
139 | 139 |
<sourceaccessioncode> |
140 | 140 |
<_alt> |
141 | 141 |
<2> |
142 | 142 |
<_merge> |
143 |
<1>$InstitutionCode</1> |
|
144 |
<2>$CollectionCode</2> |
|
143 | 145 |
<3>$CatalogNumber</3> |
144 |
<2>$CollectionCode</2> |
|
145 |
<1>$InstitutionCode</1> |
|
146 | 146 |
</_merge> |
147 | 147 |
</2> |
148 | 148 |
</_alt> |
149 | 149 |
</sourceaccessioncode> |
150 | 150 |
</location> |
151 | 151 |
</location_id> |
152 |
<obsstartdate>
|
|
152 |
<obsenddate>
|
|
153 | 153 |
<_date> |
154 | 154 |
<date> |
155 |
<_dateRangeStart>
|
|
155 |
<_dateRangeEnd>
|
|
156 | 156 |
<value> |
157 | 157 |
<_alt> |
158 | 158 |
<1> |
... | ... | |
182 | 182 |
</1> |
183 | 183 |
</_alt> |
184 | 184 |
</value> |
185 |
</_dateRangeStart>
|
|
185 |
</_dateRangeEnd>
|
|
186 | 186 |
</date> |
187 | 187 |
</_date> |
188 |
</obsstartdate>
|
|
189 |
<obsenddate>
|
|
188 |
</obsenddate>
|
|
189 |
<obsstartdate>
|
|
190 | 190 |
<_date> |
191 | 191 |
<date> |
192 |
<_dateRangeEnd>
|
|
192 |
<_dateRangeStart>
|
|
193 | 193 |
<value> |
194 | 194 |
<_alt> |
195 | 195 |
<1> |
... | ... | |
219 | 219 |
</1> |
220 | 220 |
</_alt> |
221 | 221 |
</value> |
222 |
</_dateRangeEnd>
|
|
222 |
</_dateRangeStart>
|
|
223 | 223 |
</date> |
224 | 224 |
</_date> |
225 |
</obsenddate>
|
|
225 |
</obsstartdate>
|
|
226 | 226 |
</locationevent> |
227 | 227 |
</locationevent_id> |
228 |
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc> |
|
229 |
<collectioncode_dwc>$CollectionCode</collectioncode_dwc> |
|
228 | 230 |
<collectionnumber><_alt><1><_alt><1>$CollectorNumber</1></_alt></1></_alt></collectionnumber> |
229 | 231 |
<description><_merge><1>$convertednotes</1></_merge></description> |
232 |
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id> |
|
230 | 233 |
<taxondetermination> |
231 | 234 |
<iscurrent>true</iscurrent> |
232 | 235 |
<role>identifier</role> |
... | ... | |
307 | 310 |
</plantconcept_id> |
308 | 311 |
</taxondetermination> |
309 | 312 |
<verbatimcollectorname>$Collector</verbatimcollectorname> |
310 |
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc> |
|
311 |
<collectioncode_dwc>$CollectionCode</collectioncode_dwc> |
|
312 |
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id> |
|
313 | 313 |
</specimenreplicate> |
314 | 314 |
</VegBIEN> |
315 | 315 |
Inserted 32 new rows into database |
Also available in: Unified diff
mappings/DwC2-VegBIEN.specimens.csv: Expanded {} expressions using expand_braces, so that each distinct output for the same input is on its own line, improving readability. This will also help enable search-and-replace reversing of XPaths for the re-rooting to location.