Revision 3641
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.out.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_ignore><inLabel>QMOR</inLabel></_ignore> |
|
4 |
<specimenreplicate id="-1"> |
|
5 |
<datasource_id> |
|
6 |
<party> |
|
7 |
<organizationname> |
|
8 |
<_alt> |
|
9 |
<2>QMOR</2> |
|
10 |
<1>$institutionID</1> |
|
11 |
</_alt> |
|
12 |
</organizationname> |
|
13 |
</party> |
|
14 |
</datasource_id> |
|
15 |
<locationevent_id> |
|
16 |
<locationevent> |
|
17 |
<location_id> |
|
18 |
<location> |
|
19 |
<datasource_id> |
|
20 |
<party> |
|
21 |
<organizationname> |
|
22 |
<_alt> |
|
23 |
<2>QMOR</2> |
|
24 |
<1>$institutionID</1> |
|
25 |
</_alt> |
|
26 |
</organizationname> |
|
27 |
</party> |
|
28 |
</datasource_id> |
|
29 |
<locationdetermination> |
|
30 |
<coordsaccuracy><_noCV><value><_alt><1>$coordinateUncertaintyInMeters</1></_alt></value></_noCV></coordsaccuracy> |
|
31 |
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc> |
|
32 |
<namedplace_id> |
|
33 |
<_simplifyPath> |
|
34 |
<next>parent_id/namedplace</next> |
|
35 |
<require>placename</require> |
|
36 |
<path> |
|
37 |
<namedplace> |
|
38 |
<rank>county</rank> |
|
39 |
<placename>$county</placename> |
|
40 |
<parent_id> |
|
41 |
<namedplace> |
|
42 |
<rank>stateProvince</rank> |
|
43 |
<placename>$stateProvince</placename> |
|
44 |
<parent_id> |
|
45 |
<namedplace> |
|
46 |
<rank>country</rank> |
|
47 |
<placename>$country</placename> |
|
48 |
<parent_id> |
|
49 |
<namedplace> |
|
50 |
<rank>continent</rank> |
|
51 |
<placename>$continent</placename> |
|
52 |
</namedplace> |
|
53 |
</parent_id> |
|
54 |
</namedplace> |
|
55 |
</parent_id> |
|
56 |
</namedplace> |
|
57 |
</parent_id> |
|
58 |
</namedplace> |
|
59 |
</path> |
|
60 |
</_simplifyPath> |
|
61 |
</namedplace_id> |
|
62 |
<latitude> |
|
63 |
<_alt> |
|
64 |
<1> |
|
65 |
<_nullIf> |
|
66 |
<null>0</null> |
|
67 |
<type>float</type> |
|
68 |
<value> |
|
69 |
<_alt> |
|
70 |
<0>$decimalLatitude</0> |
|
71 |
<1>$verbatimLatitude</1> |
|
72 |
</_alt> |
|
73 |
</value> |
|
74 |
</_nullIf> |
|
75 |
</1> |
|
76 |
</_alt> |
|
77 |
</latitude> |
|
78 |
<longitude> |
|
79 |
<_alt> |
|
80 |
<1> |
|
81 |
<_nullIf> |
|
82 |
<null>0</null> |
|
83 |
<type>float</type> |
|
84 |
<value> |
|
85 |
<_alt> |
|
86 |
<0>$decimalLongitude</0> |
|
87 |
<1>$verbatimLongitude</1> |
|
88 |
</_alt> |
|
89 |
</value> |
|
90 |
</_nullIf> |
|
91 |
</1> |
|
92 |
</_alt> |
|
93 |
</longitude> |
|
94 |
</locationdetermination> |
|
95 |
<locationnarrative> |
|
96 |
<_merge> |
|
97 |
<1>$locality</1> |
|
98 |
<3> |
|
99 |
<_label> |
|
100 |
<label>habitat</label> |
|
101 |
<value>$habitat</value> |
|
102 |
</_label> |
|
103 |
</3> |
|
104 |
</_merge> |
|
105 |
</locationnarrative> |
|
106 |
<elevation> |
|
107 |
<_alt> |
|
108 |
<2> |
|
109 |
<_avg> |
|
110 |
<min> |
|
111 |
<_units> |
|
112 |
<default>m</default> |
|
113 |
<to>m</to> |
|
114 |
<to></to> |
|
115 |
<value> |
|
116 |
<_rangeStart> |
|
117 |
<value> |
|
118 |
<_replace> |
|
119 |
<\bca\.?></\bca\.?> |
|
120 |
<value>$minimumElevationInMeters</value> |
|
121 |
</_replace> |
|
122 |
</value> |
|
123 |
</_rangeStart> |
|
124 |
</value> |
|
125 |
</_units> |
|
126 |
</min> |
|
127 |
<max> |
|
128 |
<_units> |
|
129 |
<default>m</default> |
|
130 |
<to>m</to> |
|
131 |
<to></to> |
|
132 |
<value>$maximumElevationInMeters</value> |
|
133 |
</_units> |
|
134 |
</max> |
|
135 |
</_avg> |
|
136 |
</2> |
|
137 |
</_alt> |
|
138 |
</elevation> |
|
139 |
<elevationrange> |
|
140 |
<_range> |
|
141 |
<from> |
|
142 |
<_units> |
|
143 |
<default>m</default> |
|
144 |
<to>m</to> |
|
145 |
<to></to> |
|
146 |
<value> |
|
147 |
<_rangeStart> |
|
148 |
<value> |
|
149 |
<_replace> |
|
150 |
<\bca\.?></\bca\.?> |
|
151 |
<value>$minimumElevationInMeters</value> |
|
152 |
</_replace> |
|
153 |
</value> |
|
154 |
</_rangeStart> |
|
155 |
</value> |
|
156 |
</_units> |
|
157 |
</from> |
|
158 |
<to> |
|
159 |
<_units> |
|
160 |
<default>m</default> |
|
161 |
<to>m</to> |
|
162 |
<to></to> |
|
163 |
<value> |
|
164 |
<_alt> |
|
165 |
<2> |
|
166 |
<_rangeEnd> |
|
167 |
<value> |
|
168 |
<_replace> |
|
169 |
<\bca\.?></\bca\.?> |
|
170 |
<value>$minimumElevationInMeters</value> |
|
171 |
</_replace> |
|
172 |
</value> |
|
173 |
</_rangeEnd> |
|
174 |
</2> |
|
175 |
<1>$maximumElevationInMeters</1> |
|
176 |
</_alt> |
|
177 |
</value> |
|
178 |
</_units> |
|
179 |
</to> |
|
180 |
</_range> |
|
181 |
</elevationrange> |
|
182 |
<centerlatitude> |
|
183 |
<_alt> |
|
184 |
<1> |
|
185 |
<_nullIf> |
|
186 |
<null>0</null> |
|
187 |
<type>float</type> |
|
188 |
<value> |
|
189 |
<_alt> |
|
190 |
<0>$decimalLatitude</0> |
|
191 |
<1>$verbatimLatitude</1> |
|
192 |
</_alt> |
|
193 |
</value> |
|
194 |
</_nullIf> |
|
195 |
</1> |
|
196 |
</_alt> |
|
197 |
</centerlatitude> |
|
198 |
<centerlongitude> |
|
199 |
<_alt> |
|
200 |
<1> |
|
201 |
<_nullIf> |
|
202 |
<null>0</null> |
|
203 |
<type>float</type> |
|
204 |
<value> |
|
205 |
<_alt> |
|
206 |
<0>$decimalLongitude</0> |
|
207 |
<1>$verbatimLongitude</1> |
|
208 |
</_alt> |
|
209 |
</value> |
|
210 |
</_nullIf> |
|
211 |
</1> |
|
212 |
</_alt> |
|
213 |
</centerlongitude> |
|
214 |
<sourceaccessioncode> |
|
215 |
<_alt> |
|
216 |
<2> |
|
217 |
<_merge> |
|
218 |
<3>$catalogNumber</3> |
|
219 |
<2>$collectionCode</2> |
|
220 |
<1>$institutionCode</1> |
|
221 |
</_merge> |
|
222 |
</2> |
|
223 |
<1>$id</1> |
|
224 |
</_alt> |
|
225 |
</sourceaccessioncode> |
|
226 |
</location> |
|
227 |
</location_id> |
|
228 |
<obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate> |
|
229 |
<obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate> |
|
230 |
</locationevent> |
|
231 |
</locationevent_id> |
|
232 |
<collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber> |
|
233 |
<definedvalue fkey="tablerecord_id"> |
|
234 |
<userdefined_id> |
|
235 |
<userdefined> |
|
236 |
<tablename>specimenreplicate</tablename> |
|
237 |
<userdefinedname>sex</userdefinedname> |
|
238 |
</userdefined> |
|
239 |
</userdefined_id> |
|
240 |
<definedvalue>$sex</definedvalue> |
|
241 |
</definedvalue> |
|
242 |
<taxondetermination> |
|
243 |
<role>identifier</role> |
|
244 |
<determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate> |
|
245 |
<iscurrent>true</iscurrent> |
|
246 |
<party_id> |
|
247 |
<party> |
|
248 |
<givenname><_namePart><first>$identifiedBy</first></_namePart></givenname> |
|
249 |
<middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename> |
|
250 |
<surname><_namePart><last>$identifiedBy</last></_namePart></surname> |
|
251 |
</party> |
|
252 |
</party_id> |
|
253 |
<isoriginal>true</isoriginal> |
|
254 |
<plantconcept_id> |
|
255 |
<plantconcept> |
|
256 |
<plantname_id> |
|
257 |
<_simplifyPath> |
|
258 |
<next>parent_id/plantname</next> |
|
259 |
<require>plantname</require> |
|
260 |
<path> |
|
261 |
<plantname> |
|
262 |
<rank>binomial</rank> |
|
263 |
<plantname>$scientificName</plantname> |
|
264 |
<parent_id> |
|
265 |
<plantname> |
|
266 |
<rank>authority</rank> |
|
267 |
<plantname>$scientificNameAuthorship</plantname> |
|
268 |
<parent_id> |
|
269 |
<plantname> |
|
270 |
<rank>subspecies</rank> |
|
271 |
<plantname>$infraspecificEpithet</plantname> |
|
272 |
<parent_id> |
|
273 |
<plantname> |
|
274 |
<rank>species</rank> |
|
275 |
<plantname>$specificEpithet</plantname> |
|
276 |
<parent_id> |
|
277 |
<plantname> |
|
278 |
<rank>genus</rank> |
|
279 |
<plantname>$genus</plantname> |
|
280 |
<parent_id> |
|
281 |
<plantname> |
|
282 |
<rank>family</rank> |
|
283 |
<plantname>$family</plantname> |
|
284 |
<parent_id> |
|
285 |
<plantname> |
|
286 |
<rank>order</rank> |
|
287 |
<plantname>$order</plantname> |
|
288 |
<parent_id> |
|
289 |
<plantname> |
|
290 |
<rank>class</rank> |
|
291 |
<plantname>$class</plantname> |
|
292 |
<parent_id> |
|
293 |
<plantname> |
|
294 |
<rank>subkingdom</rank> |
|
295 |
<plantname>$phylum</plantname> |
|
296 |
<parent_id> |
|
297 |
<plantname> |
|
298 |
<rank>kingdom</rank> |
|
299 |
<plantname>$kingdom</plantname> |
|
300 |
</plantname> |
|
301 |
</parent_id> |
|
302 |
</plantname> |
|
303 |
</parent_id> |
|
304 |
</plantname> |
|
305 |
</parent_id> |
|
306 |
</plantname> |
|
307 |
</parent_id> |
|
308 |
</plantname> |
|
309 |
</parent_id> |
|
310 |
</plantname> |
|
311 |
</parent_id> |
|
312 |
</plantname> |
|
313 |
</parent_id> |
|
314 |
</plantname> |
|
315 |
</parent_id> |
|
316 |
</plantname> |
|
317 |
</parent_id> |
|
318 |
</plantname> |
|
319 |
</path> |
|
320 |
</_simplifyPath> |
|
321 |
</plantname_id> |
|
322 |
</plantconcept> |
|
323 |
</plantconcept_id> |
|
324 |
</taxondetermination> |
|
325 |
<verbatimcollectorname>$recordedBy</verbatimcollectorname> |
|
326 |
<catalognumber_dwc>$catalogNumber</catalognumber_dwc> |
|
327 |
<collectioncode_dwc>$collectionCode</collectioncode_dwc> |
|
328 |
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id> |
|
329 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
330 |
</specimenreplicate> |
|
331 |
</VegBIEN> |
|
1 | 332 |
Inserted 28 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