1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_join>
|
9
|
<1>$InstitutionCode</1>
|
10
|
<2>$CollectionCode</2>
|
11
|
<3>$CatalogNumber</3>
|
12
|
</_join>
|
13
|
</authorlocationcode>
|
14
|
<elevation_m>
|
15
|
<_avg>
|
16
|
<max>
|
17
|
<_units>
|
18
|
<default>m</default>
|
19
|
<to>m</to>
|
20
|
<to></to>
|
21
|
<value>
|
22
|
<_replace>
|
23
|
<\bca\.?></\bca\.?>
|
24
|
<value>$MaximumElevation</value>
|
25
|
</_replace>
|
26
|
</value>
|
27
|
</_units>
|
28
|
</max>
|
29
|
<min>
|
30
|
<_units>
|
31
|
<default>m</default>
|
32
|
<to>m</to>
|
33
|
<to></to>
|
34
|
<value>
|
35
|
<_rangeStart>
|
36
|
<value>
|
37
|
<_replace>
|
38
|
<\bca\.?></\bca\.?>
|
39
|
<value>$MinimumElevation</value>
|
40
|
</_replace>
|
41
|
</value>
|
42
|
</_rangeStart>
|
43
|
</value>
|
44
|
</_units>
|
45
|
</min>
|
46
|
</_avg>
|
47
|
</elevation_m>
|
48
|
<elevationrange_m>
|
49
|
<_range>
|
50
|
<from>
|
51
|
<_units>
|
52
|
<default>m</default>
|
53
|
<to>m</to>
|
54
|
<to></to>
|
55
|
<value>
|
56
|
<_rangeStart>
|
57
|
<value>
|
58
|
<_replace>
|
59
|
<\bca\.?></\bca\.?>
|
60
|
<value>$MinimumElevation</value>
|
61
|
</_replace>
|
62
|
</value>
|
63
|
</_rangeStart>
|
64
|
</value>
|
65
|
</_units>
|
66
|
</from>
|
67
|
<to>
|
68
|
<_units>
|
69
|
<default>m</default>
|
70
|
<to>m</to>
|
71
|
<to></to>
|
72
|
<value>
|
73
|
<_alt>
|
74
|
<1>
|
75
|
<_replace>
|
76
|
<\bca\.?></\bca\.?>
|
77
|
<value>$MaximumElevation</value>
|
78
|
</_replace>
|
79
|
</1>
|
80
|
<2>
|
81
|
<_rangeEnd>
|
82
|
<value>
|
83
|
<_replace>
|
84
|
<\bca\.?></\bca\.?>
|
85
|
<value>$MinimumElevation</value>
|
86
|
</_replace>
|
87
|
</value>
|
88
|
</_rangeEnd>
|
89
|
</2>
|
90
|
</_alt>
|
91
|
</value>
|
92
|
</_units>
|
93
|
</to>
|
94
|
</_range>
|
95
|
</elevationrange_m>
|
96
|
<locationcoords>
|
97
|
<latitude_deg>
|
98
|
<_nullIf>
|
99
|
<null>0</null>
|
100
|
<type>float</type>
|
101
|
<value>$latitude</value>
|
102
|
</_nullIf>
|
103
|
</latitude_deg>
|
104
|
<longitude_deg>
|
105
|
<_nullIf>
|
106
|
<null>0</null>
|
107
|
<type>float</type>
|
108
|
<value>$longitude</value>
|
109
|
</_nullIf>
|
110
|
</longitude_deg>
|
111
|
</locationcoords>
|
112
|
<locationevent>
|
113
|
<taxonoccurrence>
|
114
|
<aggregateoccurrence>
|
115
|
<collectiondate>
|
116
|
<_date>
|
117
|
<day>
|
118
|
<_nullIf>
|
119
|
<null>0</null>
|
120
|
<type>float</type>
|
121
|
<value>$DayCollected</value>
|
122
|
</_nullIf>
|
123
|
</day>
|
124
|
<month>
|
125
|
<_nullIf>
|
126
|
<null>0</null>
|
127
|
<type>float</type>
|
128
|
<value>$MonthCollected</value>
|
129
|
</_nullIf>
|
130
|
</month>
|
131
|
<year>
|
132
|
<_nullIf>
|
133
|
<null>0</null>
|
134
|
<type>float</type>
|
135
|
<value>$YearCollected</value>
|
136
|
</_nullIf>
|
137
|
</year>
|
138
|
</_date>
|
139
|
</collectiondate>
|
140
|
<count>$IndividualCount</count>
|
141
|
<notes>
|
142
|
<_alt>
|
143
|
<0>$convertednotes</0>
|
144
|
<1>$notes</1>
|
145
|
</_alt>
|
146
|
</notes>
|
147
|
<plantobservation>
|
148
|
<collectionnumber>$CollectorNumber</collectionnumber>
|
149
|
<specimenreplicate>
|
150
|
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
|
151
|
<collectioncode_dwc>$CollectionCode</collectioncode_dwc>
|
152
|
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
|
153
|
</specimenreplicate>
|
154
|
</plantobservation>
|
155
|
</aggregateoccurrence>
|
156
|
<authortaxoncode>
|
157
|
<_alt>
|
158
|
<1>$CollectorNumber</1>
|
159
|
<2>$ScientificName</2>
|
160
|
</_alt>
|
161
|
</authortaxoncode>
|
162
|
<taxondetermination>
|
163
|
<party_id>
|
164
|
<party>
|
165
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
166
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
167
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
168
|
</party>
|
169
|
</party_id>
|
170
|
<taxonpath_id>
|
171
|
<taxonpath>
|
172
|
<family>$family</family>
|
173
|
<genus>$genus</genus>
|
174
|
<kingdom>$Kingdom</kingdom>
|
175
|
<scientificname>$ScientificName</scientificname>
|
176
|
<scientificnameauthor>$ScientificNameAuthor</scientificnameauthor>
|
177
|
<species>$species</species>
|
178
|
<subspecies>$Subspecies</subspecies>
|
179
|
</taxonpath>
|
180
|
</taxonpath_id>
|
181
|
</taxondetermination>
|
182
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
183
|
</taxonoccurrence>
|
184
|
</locationevent>
|
185
|
<locationnarrative>$Locality</locationnarrative>
|
186
|
<locationplace>
|
187
|
<placepath_id>
|
188
|
<placepath>
|
189
|
<continent>$ContinentOcean</continent>
|
190
|
<country>$Country</country>
|
191
|
<county>$County</county>
|
192
|
<stateprovince>$StateProvince</stateprovince>
|
193
|
</placepath>
|
194
|
</placepath_id>
|
195
|
</locationplace>
|
196
|
</location>
|
197
|
</path>
|
198
|
</_simplifyPath>
|
199
|
</VegBIEN>
|
200
|
Inserted 24 new rows into database
|