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