Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$plot_code</authorlocationcode>
8
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10
                <elevation_m>
11
                    <_alt>
12
                        <1>$elev_m</1>
13
                        <2>
14
                            <_avg>
15
                                <max>$elev_max_m</max>
16
                                <min><_rangeStart><value>$elev_min_m</value></_rangeStart></min>
17
                            </_avg>
18
                        </2>
19
                    </_alt>
20
                </elevation_m>
21
                <elevationrange_m>
22
                    <_range>
23
                        <from><_rangeStart><value>$elev_min_m</value></_rangeStart></from>
24
                        <to>
25
                            <_alt>
26
                                <1>$elev_max_m</1>
27
                                <2><_rangeEnd><value>$elev_min_m</value></_rangeEnd></2>
28
                            </_alt>
29
                        </to>
30
                    </_range>
31
                </elevationrange_m>
32
                <locationcoords>
33
                    <latitude_deg>
34
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$lat_decimal</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$long_decimal</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <method_id><method><name>$plot_methodology</name></method></method_id>
50
                    <project_id><project><projectname>$project</projectname></project></project_id>
51
                    <commclass>
52
                        <commdetermination>
53
                            <commconcept_id>
54
                                <commconcept>
55
                                    <commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
56
                                    <commdescription>$life_zone_code</commdescription>
57
                                </commconcept>
58
                            </commconcept_id>
59
                        </commdetermination>
60
                    </commclass>
61
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
62
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
63
                    <precipitation_m>$precip_mm</precipitation_m>
64
                    <soilobs>
65
                        <acidity_fraction>
66
                            <_units>
67
                                <default>%</default>
68
                                <to></to>
69
                                <value>
70
                                    <_map>
71
                                        <<0.05>0</<0.05>
72
                                        <*>*</*>
73
                                        <value>$soil_acidity</value>
74
                                    </_map>
75
                                </value>
76
                            </_units>
77
                        </acidity_fraction>
78
                        <basesaturation_fraction>
79
                            <_units>
80
                                <default>%</default>
81
                                <to></to>
82
                                <value>$soil_base</value>
83
                            </_units>
84
                        </basesaturation_fraction>
85
                        <calcium_fraction>
86
                            <_units>
87
                                <default>%</default>
88
                                <to></to>
89
                                <value>$soil_Ca</value>
90
                            </_units>
91
                        </calcium_fraction>
92
                        <carbon_fraction>
93
                            <_units>
94
                                <default>%</default>
95
                                <to></to>
96
                                <value>$soil_C</value>
97
                            </_units>
98
                        </carbon_fraction>
99
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
100
                        <clay_fraction>
101
                            <_units>
102
                                <default>%</default>
103
                                <to></to>
104
                                <value>$clay_percent</value>
105
                            </_units>
106
                        </clay_fraction>
107
                        <conductivity>$soil_conductivity</conductivity>
108
                        <magnesium_fraction>
109
                            <_units>
110
                                <default>%</default>
111
                                <to></to>
112
                                <value>$soil_Mg</value>
113
                            </_units>
114
                        </magnesium_fraction>
115
                        <nitrogen_fraction>
116
                            <_units>
117
                                <default>%</default>
118
                                <to></to>
119
                                <value>$soil_N</value>
120
                            </_units>
121
                        </nitrogen_fraction>
122
                        <organic_fraction>
123
                            <_units>
124
                                <default>%</default>
125
                                <to></to>
126
                                <value>$organic_percent</value>
127
                            </_units>
128
                        </organic_fraction>
129
                        <ph>$pH</ph>
130
                        <phosphorus_fraction>
131
                            <_units>
132
                                <default>%</default>
133
                                <to></to>
134
                                <value>
135
                                    <_map>
136
                                        <<1,5>0</<1,5>
137
                                        <*>*</*>
138
                                        <value>$soil_P</value>
139
                                    </_map>
140
                                </value>
141
                            </_units>
142
                        </phosphorus_fraction>
143
                        <potassium_fraction>
144
                            <_units>
145
                                <default>%</default>
146
                                <to></to>
147
                                <value>$soil_K</value>
148
                            </_units>
149
                        </potassium_fraction>
150
                        <sand_fraction>
151
                            <_units>
152
                                <default>%</default>
153
                                <to></to>
154
                                <value>$sand_percent</value>
155
                            </_units>
156
                        </sand_fraction>
157
                        <silt_fraction>
158
                            <_units>
159
                                <default>%</default>
160
                                <to></to>
161
                                <value>$silt_percent</value>
162
                            </_units>
163
                        </silt_fraction>
164
                        <sodium_fraction>
165
                            <_units>
166
                                <default>%</default>
167
                                <to></to>
168
                                <value>$soil_Na</value>
169
                            </_units>
170
                        </sodium_fraction>
171
                        <texture>$soil_texture</texture>
172
                    </soilobs>
173
                    <temperature_c>$temp_c</temperature_c>
174
                </locationevent>
175
                <locationnarrative>$locality_description</locationnarrative>
176
                <locationplace>
177
                    <placepath_id>
178
                        <placepath>
179
                            <continent>$major_geo</continent>
180
                            <country>$country</country>
181
                            <county>$pol2</county>
182
                            <stateprovince>$pol1</stateprovince>
183
                        </placepath>
184
                    </placepath_id>
185
                </locationplace>
186
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
187
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
188
            </location>
189
        </path>
190
    </_simplifyPath>
191
</VegBIEN>
192
Inserted 16 new rows into database
(5-5/6)