1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode><_merge><2>$acronym</2></_merge></authorlocationcode>
|
5
|
<locationdetermination>
|
6
|
<latitude>
|
7
|
<_alt>
|
8
|
<2>
|
9
|
<_nullIf>
|
10
|
<null>0</null>
|
11
|
<type>float</type>
|
12
|
<value>$lat_deg</value>
|
13
|
</_nullIf>
|
14
|
</2>
|
15
|
</_alt>
|
16
|
</latitude>
|
17
|
<longitude>
|
18
|
<_alt>
|
19
|
<2>
|
20
|
<_nullIf>
|
21
|
<null>0</null>
|
22
|
<type>float</type>
|
23
|
<value>$long_deg</value>
|
24
|
</_nullIf>
|
25
|
</2>
|
26
|
</_alt>
|
27
|
</longitude>
|
28
|
<namedplace_id>
|
29
|
<_simplifyPath>
|
30
|
<next>parent_id/namedplace</next>
|
31
|
<require>placename</require>
|
32
|
<path>
|
33
|
<namedplace>
|
34
|
<rank>county</rank>
|
35
|
<placename>$county</placename>
|
36
|
<parent_id>
|
37
|
<namedplace>
|
38
|
<rank>stateProvince</rank>
|
39
|
<placename>$state</placename>
|
40
|
<parent_id>
|
41
|
<namedplace>
|
42
|
<rank>country</rank>
|
43
|
<placename>$country</placename>
|
44
|
</namedplace>
|
45
|
</parent_id>
|
46
|
</namedplace>
|
47
|
</parent_id>
|
48
|
</namedplace>
|
49
|
</path>
|
50
|
</_simplifyPath>
|
51
|
</namedplace_id>
|
52
|
</locationdetermination>
|
53
|
<locationevent>
|
54
|
<obsenddate>
|
55
|
<_date>
|
56
|
<date>
|
57
|
<_dateRangeEnd>
|
58
|
<value>
|
59
|
<_alt>
|
60
|
<1>
|
61
|
<_date>
|
62
|
<day>
|
63
|
<_nullIf>
|
64
|
<null>0</null>
|
65
|
<type>float</type>
|
66
|
<value>$coll_day</value>
|
67
|
</_nullIf>
|
68
|
</day>
|
69
|
<month>
|
70
|
<_nullIf>
|
71
|
<null>0</null>
|
72
|
<type>float</type>
|
73
|
<value>$coll_month</value>
|
74
|
</_nullIf>
|
75
|
</month>
|
76
|
<year>
|
77
|
<_nullIf>
|
78
|
<null>0</null>
|
79
|
<type>float</type>
|
80
|
<value>$coll_year</value>
|
81
|
</_nullIf>
|
82
|
</year>
|
83
|
</_date>
|
84
|
</1>
|
85
|
</_alt>
|
86
|
</value>
|
87
|
</_dateRangeEnd>
|
88
|
</date>
|
89
|
</_date>
|
90
|
</obsenddate>
|
91
|
<obsstartdate>
|
92
|
<_date>
|
93
|
<date>
|
94
|
<_dateRangeStart>
|
95
|
<value>
|
96
|
<_alt>
|
97
|
<1>
|
98
|
<_date>
|
99
|
<day>
|
100
|
<_nullIf>
|
101
|
<null>0</null>
|
102
|
<type>float</type>
|
103
|
<value>$coll_day</value>
|
104
|
</_nullIf>
|
105
|
</day>
|
106
|
<month>
|
107
|
<_nullIf>
|
108
|
<null>0</null>
|
109
|
<type>float</type>
|
110
|
<value>$coll_month</value>
|
111
|
</_nullIf>
|
112
|
</month>
|
113
|
<year>
|
114
|
<_nullIf>
|
115
|
<null>0</null>
|
116
|
<type>float</type>
|
117
|
<value>$coll_year</value>
|
118
|
</_nullIf>
|
119
|
</year>
|
120
|
</_date>
|
121
|
</1>
|
122
|
</_alt>
|
123
|
</value>
|
124
|
</_dateRangeStart>
|
125
|
</date>
|
126
|
</_date>
|
127
|
</obsstartdate>
|
128
|
<taxonoccurrence>
|
129
|
<aggregateoccurrence>
|
130
|
<collectiondate>
|
131
|
<_date>
|
132
|
<date>
|
133
|
<_alt>
|
134
|
<1>
|
135
|
<_date>
|
136
|
<day>
|
137
|
<_nullIf>
|
138
|
<null>0</null>
|
139
|
<type>float</type>
|
140
|
<value>$coll_day</value>
|
141
|
</_nullIf>
|
142
|
</day>
|
143
|
<month>
|
144
|
<_nullIf>
|
145
|
<null>0</null>
|
146
|
<type>float</type>
|
147
|
<value>$coll_month</value>
|
148
|
</_nullIf>
|
149
|
</month>
|
150
|
<year>
|
151
|
<_nullIf>
|
152
|
<null>0</null>
|
153
|
<type>float</type>
|
154
|
<value>$coll_year</value>
|
155
|
</_nullIf>
|
156
|
</year>
|
157
|
</_date>
|
158
|
</1>
|
159
|
</_alt>
|
160
|
</date>
|
161
|
</_date>
|
162
|
</collectiondate>
|
163
|
<plantobservation>
|
164
|
<sourceaccessioncode>$accession_number</sourceaccessioncode>
|
165
|
<specimenreplicate>
|
166
|
<collectioncode_dwc><_alt><1>$acronym</1></_alt></collectioncode_dwc>
|
167
|
<sourceaccessioncode>$accession_number</sourceaccessioncode>
|
168
|
</specimenreplicate>
|
169
|
</plantobservation>
|
170
|
</aggregateoccurrence>
|
171
|
<sourceaccessioncode><_alt><1>$accession_number</1></_alt></sourceaccessioncode>
|
172
|
<taxondetermination>
|
173
|
<isoriginal>true</isoriginal>
|
174
|
<role>identifier</role>
|
175
|
<plantconcept_id>
|
176
|
<plantconcept>
|
177
|
<plantname_id>
|
178
|
<_simplifyPath>
|
179
|
<next>parent_id/plantname</next>
|
180
|
<require>plantname</require>
|
181
|
<path>
|
182
|
<plantname>
|
183
|
<rank>binomial</rank>
|
184
|
<parent_id>
|
185
|
<plantname>
|
186
|
<rank>authority</rank>
|
187
|
<parent_id>
|
188
|
<plantname>
|
189
|
<rank>subspecies</rank>
|
190
|
<parent_id>
|
191
|
<plantname>
|
192
|
<rank>species</rank>
|
193
|
<plantname>$specificEpithet</plantname>
|
194
|
<parent_id>
|
195
|
<plantname>
|
196
|
<rank>genus</rank>
|
197
|
<plantname>$genus</plantname>
|
198
|
<parent_id>
|
199
|
<plantname>
|
200
|
<rank>family</rank>
|
201
|
<plantname>$family</plantname>
|
202
|
</plantname>
|
203
|
</parent_id>
|
204
|
</plantname>
|
205
|
</parent_id>
|
206
|
</plantname>
|
207
|
</parent_id>
|
208
|
</plantname>
|
209
|
</parent_id>
|
210
|
</plantname>
|
211
|
</parent_id>
|
212
|
</plantname>
|
213
|
</path>
|
214
|
</_simplifyPath>
|
215
|
</plantname_id>
|
216
|
</plantconcept>
|
217
|
</plantconcept_id>
|
218
|
</taxondetermination>
|
219
|
<verbatimcollectorname>$collector</verbatimcollectorname>
|
220
|
</taxonoccurrence>
|
221
|
</locationevent>
|
222
|
<locationnarrative>
|
223
|
<_merge>
|
224
|
<1>$locality</1>
|
225
|
<3>
|
226
|
<_label>
|
227
|
<label>habitat</label>
|
228
|
<value>$habitat</value>
|
229
|
</_label>
|
230
|
</3>
|
231
|
</_merge>
|
232
|
</locationnarrative>
|
233
|
<sourceaccessioncode><_alt><1>$accession_number</1></_alt></sourceaccessioncode>
|
234
|
</location>
|
235
|
</VegBIEN>
|
236
|
Inserted 26 new rows into database
|