1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<locationevent id="-1">
|
4
|
<location_id>
|
5
|
<location>
|
6
|
<area>$plot_area_ha</area>
|
7
|
<elevation>
|
8
|
<_alt>
|
9
|
<1>$elev_m</1>
|
10
|
<2>
|
11
|
<_avg>
|
12
|
<max>
|
13
|
<_units>
|
14
|
<default>m</default>
|
15
|
<to>m</to>
|
16
|
<to></to>
|
17
|
<value><_rangeEnd><value>$elev_max_m</value></_rangeEnd></value>
|
18
|
</_units>
|
19
|
</max>
|
20
|
<min>
|
21
|
<_units>
|
22
|
<default>m</default>
|
23
|
<to>m</to>
|
24
|
<to></to>
|
25
|
<value><_rangeStart><value>$elev_min_m</value></_rangeStart></value>
|
26
|
</_units>
|
27
|
</min>
|
28
|
</_avg>
|
29
|
</2>
|
30
|
</_alt>
|
31
|
</elevation>
|
32
|
<locationdetermination>
|
33
|
<namedplace_id>
|
34
|
<_simplifyPath>
|
35
|
<next>parent_id/namedplace</next>
|
36
|
<require>placename</require>
|
37
|
<path>
|
38
|
<namedplace>
|
39
|
<rank>county</rank>
|
40
|
<placename>$pol2</placename>
|
41
|
<parent_id>
|
42
|
<namedplace>
|
43
|
<rank>stateProvince</rank>
|
44
|
<placename>$pol1</placename>
|
45
|
<parent_id>
|
46
|
<namedplace>
|
47
|
<rank>country</rank>
|
48
|
<placename>$country</placename>
|
49
|
<parent_id>
|
50
|
<namedplace>
|
51
|
<rank>continent</rank>
|
52
|
<placename>$major_geo</placename>
|
53
|
</namedplace>
|
54
|
</parent_id>
|
55
|
</namedplace>
|
56
|
</parent_id>
|
57
|
</namedplace>
|
58
|
</parent_id>
|
59
|
</namedplace>
|
60
|
</path>
|
61
|
</_simplifyPath>
|
62
|
</namedplace_id>
|
63
|
<latitude>$lat_decimal</latitude>
|
64
|
<longitude>$long_decimal</longitude>
|
65
|
</locationdetermination>
|
66
|
<locationnarrative>$locality_description</locationnarrative>
|
67
|
<slopeaspect><_compass><value>$slope_aspect</value></_compass></slopeaspect>
|
68
|
<slopegradient>$slope_gradient</slopegradient>
|
69
|
<elevationrange>
|
70
|
<_range>
|
71
|
<to>
|
72
|
<_units>
|
73
|
<default>m</default>
|
74
|
<to>m</to>
|
75
|
<to></to>
|
76
|
<value><_rangeEnd><value>$elev_max_m</value></_rangeEnd></value>
|
77
|
</_units>
|
78
|
</to>
|
79
|
<from>
|
80
|
<_units>
|
81
|
<default>m</default>
|
82
|
<to>m</to>
|
83
|
<to></to>
|
84
|
<value><_rangeStart><value>$elev_min_m</value></_rangeStart></value>
|
85
|
</_units>
|
86
|
</from>
|
87
|
</_range>
|
88
|
</elevationrange>
|
89
|
<centerlatitude>$lat_decimal</centerlatitude>
|
90
|
<centerlongitude>$long_decimal</centerlongitude>
|
91
|
<sourceaccessioncode>
|
92
|
<_merge>
|
93
|
<2>
|
94
|
<_alt>
|
95
|
<2>$plot_code</2>
|
96
|
<1>$PLOT_ID</1>
|
97
|
</_alt>
|
98
|
</2>
|
99
|
</_merge>
|
100
|
</sourceaccessioncode>
|
101
|
</location>
|
102
|
</location_id>
|
103
|
<method_id><method><name>$plot_methodology</name></method></method_id>
|
104
|
<project_id><project><projectname>$project</projectname></project></project_id>
|
105
|
<commclass>
|
106
|
<commdetermination>
|
107
|
<commconcept_id>
|
108
|
<commconcept>
|
109
|
<commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
|
110
|
<commdescription>$life_zone_code</commdescription>
|
111
|
</commconcept>
|
112
|
</commconcept_id>
|
113
|
</commdetermination>
|
114
|
</commclass>
|
115
|
<obsenddate><_date><date>$date_finish</date></_date></obsenddate>
|
116
|
<obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
|
117
|
<precipitation>$precip_mm</precipitation>
|
118
|
<soilobs>
|
119
|
<acidity>
|
120
|
<_units>
|
121
|
<default>%</default>
|
122
|
<to></to>
|
123
|
<value>
|
124
|
<_map>
|
125
|
<<0.05>0</<0.05>
|
126
|
<*>*</*>
|
127
|
<value>$soil_acidity</value>
|
128
|
</_map>
|
129
|
</value>
|
130
|
</_units>
|
131
|
</acidity>
|
132
|
<basesaturation>
|
133
|
<_units>
|
134
|
<default>%</default>
|
135
|
<to></to>
|
136
|
<value>$soil_base</value>
|
137
|
</_units>
|
138
|
</basesaturation>
|
139
|
<calcium>
|
140
|
<_units>
|
141
|
<default>%</default>
|
142
|
<to></to>
|
143
|
<value>$soil_Ca</value>
|
144
|
</_units>
|
145
|
</calcium>
|
146
|
<carbon>
|
147
|
<_units>
|
148
|
<default>%</default>
|
149
|
<to></to>
|
150
|
<value>$soil_C</value>
|
151
|
</_units>
|
152
|
</carbon>
|
153
|
<cationexchangecapacity>$soil_cation_cap</cationexchangecapacity>
|
154
|
<clay>
|
155
|
<_units>
|
156
|
<default>%</default>
|
157
|
<to></to>
|
158
|
<value>$clay_percent</value>
|
159
|
</_units>
|
160
|
</clay>
|
161
|
<conductivity>$soil_conductivity</conductivity>
|
162
|
<magnesium>
|
163
|
<_units>
|
164
|
<default>%</default>
|
165
|
<to></to>
|
166
|
<value>$soil_Mg</value>
|
167
|
</_units>
|
168
|
</magnesium>
|
169
|
<nitrogen>
|
170
|
<_units>
|
171
|
<default>%</default>
|
172
|
<to></to>
|
173
|
<value>$soil_N</value>
|
174
|
</_units>
|
175
|
</nitrogen>
|
176
|
<organic>
|
177
|
<_units>
|
178
|
<default>%</default>
|
179
|
<to></to>
|
180
|
<value>$organic_percent</value>
|
181
|
</_units>
|
182
|
</organic>
|
183
|
<ph>$pH</ph>
|
184
|
<phosphorus>
|
185
|
<_units>
|
186
|
<default>%</default>
|
187
|
<to></to>
|
188
|
<value>
|
189
|
<_map>
|
190
|
<<1,5>0</<1,5>
|
191
|
<*>*</*>
|
192
|
<value>$soil_P</value>
|
193
|
</_map>
|
194
|
</value>
|
195
|
</_units>
|
196
|
</phosphorus>
|
197
|
<potassium>
|
198
|
<_units>
|
199
|
<default>%</default>
|
200
|
<to></to>
|
201
|
<value>$soil_K</value>
|
202
|
</_units>
|
203
|
</potassium>
|
204
|
<sand>
|
205
|
<_units>
|
206
|
<default>%</default>
|
207
|
<to></to>
|
208
|
<value>$sand_percent</value>
|
209
|
</_units>
|
210
|
</sand>
|
211
|
<silt>
|
212
|
<_units>
|
213
|
<default>%</default>
|
214
|
<to></to>
|
215
|
<value>$silt_percent</value>
|
216
|
</_units>
|
217
|
</silt>
|
218
|
<sodium>
|
219
|
<_units>
|
220
|
<default>%</default>
|
221
|
<to></to>
|
222
|
<value>$soil_Na</value>
|
223
|
</_units>
|
224
|
</sodium>
|
225
|
<texture>$soil_texture</texture>
|
226
|
</soilobs>
|
227
|
<temperature>$temp_c</temperature>
|
228
|
<authorlocationcode>$plot_code</authorlocationcode>
|
229
|
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
|
230
|
</locationevent>
|
231
|
</VegBIEN>
|
232
|
Inserted 16 new rows into database
|