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