Revision 3641
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.out.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_ignore><inLabel>U</inLabel></_ignore> |
|
4 |
<specimenreplicate id="-1"> |
|
5 |
<datasource_id><party><organizationname><_alt><2>U</2></_alt></organizationname></party></datasource_id> |
|
6 |
<locationevent_id> |
|
7 |
<locationevent> |
|
8 |
<location_id> |
|
9 |
<location> |
|
10 |
<datasource_id><party><organizationname><_alt><2>U</2></_alt></organizationname></party></datasource_id> |
|
11 |
<locationdetermination> |
|
12 |
<namedplace_id> |
|
13 |
<_simplifyPath> |
|
14 |
<next>parent_id/namedplace</next> |
|
15 |
<require>placename</require> |
|
16 |
<path> |
|
17 |
<namedplace> |
|
18 |
<rank>county</rank> |
|
19 |
<parent_id> |
|
20 |
<namedplace> |
|
21 |
<rank>stateProvince</rank> |
|
22 |
<parent_id> |
|
23 |
<namedplace> |
|
24 |
<rank>country</rank> |
|
25 |
<placename>$Country</placename> |
|
26 |
</namedplace> |
|
27 |
</parent_id> |
|
28 |
</namedplace> |
|
29 |
</parent_id> |
|
30 |
</namedplace> |
|
31 |
</path> |
|
32 |
</_simplifyPath> |
|
33 |
</namedplace_id> |
|
34 |
<latitude> |
|
35 |
<_alt> |
|
36 |
<1> |
|
37 |
<_nullIf> |
|
38 |
<null>0</null> |
|
39 |
<type>float</type> |
|
40 |
<value>$Lat</value> |
|
41 |
</_nullIf> |
|
42 |
</1> |
|
43 |
</_alt> |
|
44 |
</latitude> |
|
45 |
<longitude> |
|
46 |
<_alt> |
|
47 |
<1> |
|
48 |
<_nullIf> |
|
49 |
<null>0</null> |
|
50 |
<type>float</type> |
|
51 |
<value>$Long</value> |
|
52 |
</_nullIf> |
|
53 |
</1> |
|
54 |
</_alt> |
|
55 |
</longitude> |
|
56 |
</locationdetermination> |
|
57 |
<locationnarrative> |
|
58 |
<_merge> |
|
59 |
<2> |
|
60 |
<_merge> |
|
61 |
<1> |
|
62 |
<_label> |
|
63 |
<label>gazetteer</label> |
|
64 |
<value> |
|
65 |
<_merge> |
|
66 |
<1>$Gazetteer</1> |
|
67 |
<2>$Newgazett</2> |
|
68 |
</_merge> |
|
69 |
</value> |
|
70 |
</_label> |
|
71 |
</1> |
|
72 |
<2>$Locnotes</2> |
|
73 |
</_merge> |
|
74 |
</2> |
|
75 |
<3> |
|
76 |
<_label> |
|
77 |
<label>habitat</label> |
|
78 |
<value>$Ecology</value> |
|
79 |
</_label> |
|
80 |
</3> |
|
81 |
</_merge> |
|
82 |
</locationnarrative> |
|
83 |
<centerlatitude> |
|
84 |
<_alt> |
|
85 |
<1> |
|
86 |
<_nullIf> |
|
87 |
<null>0</null> |
|
88 |
<type>float</type> |
|
89 |
<value>$Lat</value> |
|
90 |
</_nullIf> |
|
91 |
</1> |
|
92 |
</_alt> |
|
93 |
</centerlatitude> |
|
94 |
<centerlongitude> |
|
95 |
<_alt> |
|
96 |
<1> |
|
97 |
<_nullIf> |
|
98 |
<null>0</null> |
|
99 |
<type>float</type> |
|
100 |
<value>$Long</value> |
|
101 |
</_nullIf> |
|
102 |
</1> |
|
103 |
</_alt> |
|
104 |
</centerlongitude> |
|
105 |
<sourceaccessioncode> |
|
106 |
<_alt> |
|
107 |
<2><_merge><3>$Barcode</3></_merge></2> |
|
108 |
<1>$ID</1> |
|
109 |
</_alt> |
|
110 |
</sourceaccessioncode> |
|
111 |
</location> |
|
112 |
</location_id> |
|
113 |
<obsstartdate> |
|
114 |
<_date> |
|
115 |
<date> |
|
116 |
<_dateRangeStart> |
|
117 |
<value> |
|
118 |
<_alt> |
|
119 |
<1> |
|
120 |
<_date> |
|
121 |
<day> |
|
122 |
<_nullIf> |
|
123 |
<null>0</null> |
|
124 |
<type>float</type> |
|
125 |
<value>$Colldd</value> |
|
126 |
</_nullIf> |
|
127 |
</day> |
|
128 |
<month> |
|
129 |
<_nullIf> |
|
130 |
<null>0</null> |
|
131 |
<type>float</type> |
|
132 |
<value>$Collmm</value> |
|
133 |
</_nullIf> |
|
134 |
</month> |
|
135 |
<year> |
|
136 |
<_nullIf> |
|
137 |
<null>0</null> |
|
138 |
<type>float</type> |
|
139 |
<value>$Collyy</value> |
|
140 |
</_nullIf> |
|
141 |
</year> |
|
142 |
</_date> |
|
143 |
</1> |
|
144 |
</_alt> |
|
145 |
</value> |
|
146 |
</_dateRangeStart> |
|
147 |
</date> |
|
148 |
</_date> |
|
149 |
</obsstartdate> |
|
150 |
<obsenddate> |
|
151 |
<_date> |
|
152 |
<date> |
|
153 |
<_dateRangeEnd> |
|
154 |
<value> |
|
155 |
<_alt> |
|
156 |
<1> |
|
157 |
<_date> |
|
158 |
<day> |
|
159 |
<_nullIf> |
|
160 |
<null>0</null> |
|
161 |
<type>float</type> |
|
162 |
<value>$Colldd</value> |
|
163 |
</_nullIf> |
|
164 |
</day> |
|
165 |
<month> |
|
166 |
<_nullIf> |
|
167 |
<null>0</null> |
|
168 |
<type>float</type> |
|
169 |
<value>$Collmm</value> |
|
170 |
</_nullIf> |
|
171 |
</month> |
|
172 |
<year> |
|
173 |
<_nullIf> |
|
174 |
<null>0</null> |
|
175 |
<type>float</type> |
|
176 |
<value>$Collyy</value> |
|
177 |
</_nullIf> |
|
178 |
</year> |
|
179 |
</_date> |
|
180 |
</1> |
|
181 |
</_alt> |
|
182 |
</value> |
|
183 |
</_dateRangeEnd> |
|
184 |
</date> |
|
185 |
</_date> |
|
186 |
</obsenddate> |
|
187 |
</locationevent> |
|
188 |
</locationevent_id> |
|
189 |
<collectionnumber><_alt><1><_alt><2>$Number</2></_alt></1></_alt></collectionnumber> |
|
190 |
<description><_merge><1>$Notes</1></_merge></description> |
|
191 |
<taxondetermination> |
|
192 |
<role>identifier</role> |
|
193 |
<determinationdate> |
|
194 |
<_date> |
|
195 |
<date> |
|
196 |
<_dateRangeStart> |
|
197 |
<value> |
|
198 |
<_alt> |
|
199 |
<1> |
|
200 |
<_date> |
|
201 |
<year> |
|
202 |
<_nullIf> |
|
203 |
<null>0</null> |
|
204 |
<type>float</type> |
|
205 |
<value>$Detyy</value> |
|
206 |
</_nullIf> |
|
207 |
</year> |
|
208 |
</_date> |
|
209 |
</1> |
|
210 |
</_alt> |
|
211 |
</value> |
|
212 |
</_dateRangeStart> |
|
213 |
</date> |
|
214 |
</_date> |
|
215 |
</determinationdate> |
|
216 |
<iscurrent>true</iscurrent> |
|
217 |
<party_id> |
|
218 |
<party> |
|
219 |
<givenname><_namePart><first>$Detby</first></_namePart></givenname> |
|
220 |
<middlename><_namePart><middle>$Detby</middle></_namePart></middlename> |
|
221 |
<surname><_namePart><last>$Detby</last></_namePart></surname> |
|
222 |
</party> |
|
223 |
</party_id> |
|
224 |
<isoriginal>true</isoriginal> |
|
225 |
<plantconcept_id> |
|
226 |
<plantconcept> |
|
227 |
<plantname_id> |
|
228 |
<_simplifyPath> |
|
229 |
<next>parent_id/plantname</next> |
|
230 |
<require>plantname</require> |
|
231 |
<path> |
|
232 |
<plantname> |
|
233 |
<rank>binomial</rank> |
|
234 |
<parent_id> |
|
235 |
<plantname> |
|
236 |
<rank>authority</rank> |
|
237 |
<parent_id> |
|
238 |
<plantname> |
|
239 |
<rank>subspecies</rank> |
|
240 |
<parent_id> |
|
241 |
<plantname> |
|
242 |
<rank>species</rank> |
|
243 |
<parent_id> |
|
244 |
<plantname> |
|
245 |
<rank>genus</rank> |
|
246 |
<plantname>$Genus</plantname> |
|
247 |
<parent_id> |
|
248 |
<plantname> |
|
249 |
<rank>family</rank> |
|
250 |
<plantname>$Family</plantname> |
|
251 |
</plantname> |
|
252 |
</parent_id> |
|
253 |
</plantname> |
|
254 |
</parent_id> |
|
255 |
</plantname> |
|
256 |
</parent_id> |
|
257 |
</plantname> |
|
258 |
</parent_id> |
|
259 |
</plantname> |
|
260 |
</parent_id> |
|
261 |
</plantname> |
|
262 |
</path> |
|
263 |
</_simplifyPath> |
|
264 |
</plantname_id> |
|
265 |
</plantconcept> |
|
266 |
</plantconcept_id> |
|
267 |
</taxondetermination> |
|
268 |
<verbatimcollectorname> |
|
269 |
<_merge> |
|
270 |
<1>$Collector</1> |
|
271 |
<2>$Addcoll</2> |
|
272 |
</_merge> |
|
273 |
</verbatimcollectorname> |
|
274 |
<catalognumber_dwc>$Barcode</catalognumber_dwc> |
|
275 |
<sourceaccessioncode>$ID</sourceaccessioncode> |
|
276 |
</specimenreplicate> |
|
277 |
</VegBIEN> |
|
1 | 278 |
Inserted 20 new rows into database |
Also available in: Unified diff
bin/map: out_is_db: Output the put template to stdout so it will be validated in the automated testing