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