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