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