Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>SALVIAS-CSV</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$plot_code</authorlocationcode>
11
                        <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
13
                        <elevation_m>
14
                            <_alt>
15
                                <1>$elev_m</1>
16
                                <2>
17
                                    <_avg>
18
                                        <max>$elev_max_m</max>
19
                                        <min>$elev_min_m</min>
20
                                    </_avg>
21
                                </2>
22
                            </_alt>
23
                        </elevation_m>
24
                        <locationevent>
25
                            <method_id><method><name>$plot_methodology</name></method></method_id>
26
                            <project_id><project><projectname>$project</projectname></project></project_id>
27
                            <commclass>
28
                                <commdetermination>
29
                                    <commconcept_id>
30
                                        <commconcept>
31
                                            <commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
32
                                            <commdescription>$life_zone_code</commdescription>
33
                                        </commconcept>
34
                                    </commconcept_id>
35
                                </commdetermination>
36
                            </commclass>
37
                            <obsenddate>$date_finish</obsenddate>
38
                            <obsstartdate>$date_start</obsstartdate>
39
                            <precipitation_m>$precip_mm</precipitation_m>
40
                            <soilobs>
41
                                <acidity_fraction>
42
                                    <_percent_to_fraction>
43
                                        <value>
44
                                            <_map>
45
                                                <<0.05>0</<0.05>
46
                                                <*>*</*>
47
                                                <value>$soil_acidity</value>
48
                                            </_map>
49
                                        </value>
50
                                    </_percent_to_fraction>
51
                                </acidity_fraction>
52
                                <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
53
                                <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
54
                                <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
55
                                <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
56
                                <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
57
                                <conductivity>$soil_conductivity</conductivity>
58
                                <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
59
                                <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
60
                                <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
61
                                <ph>$pH</ph>
62
                                <phosphorus_fraction>
63
                                    <_percent_to_fraction>
64
                                        <value>
65
                                            <_map>
66
                                                <<0.05>0</<0.05>
67
                                                <*>*</*>
68
                                                <value>$soil_P</value>
69
                                            </_map>
70
                                        </value>
71
                                    </_percent_to_fraction>
72
                                </phosphorus_fraction>
73
                                <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
74
                                <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
75
                                <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
76
                                <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
77
                                <texture>$soil_texture</texture>
78
                            </soilobs>
79
                            <temperature_c>$temp_c</temperature_c>
80
                        </locationevent>
81
                        <locationnarrative>$locality_description</locationnarrative>
82
                        <locationplace>
83
                            <place_id>
84
                                <place>
85
                                    <coordinates_id>
86
                                        <coordinates>
87
                                            <latitude_deg>
88
                                                <_nullIf>
89
                                                    <null>0</null>
90
                                                    <type>float</type>
91
                                                    <value>$lat_decimal</value>
92
                                                </_nullIf>
93
                                            </latitude_deg>
94
                                            <longitude_deg>
95
                                                <_nullIf>
96
                                                    <null>0</null>
97
                                                    <type>float</type>
98
                                                    <value>$long_decimal</value>
99
                                                </_nullIf>
100
                                            </longitude_deg>
101
                                        </coordinates>
102
                                    </coordinates_id>
103
                                    <continent>$major_geo</continent>
104
                                    <country>$country</country>
105
                                    <county>$pol2</county>
106
                                    <matched_place_id>
107
                                        <place>
108
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
109
                                            <coordinates_id>
110
                                                <coordinates>
111
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
112
                                                    <latitude_deg>
113
                                                        <_nullIf>
114
                                                            <null>0</null>
115
                                                            <type>float</type>
116
                                                            <value>$lat_decimal</value>
117
                                                        </_nullIf>
118
                                                    </latitude_deg>
119
                                                    <longitude_deg>
120
                                                        <_nullIf>
121
                                                            <null>0</null>
122
                                                            <type>float</type>
123
                                                            <value>$long_decimal</value>
124
                                                        </_nullIf>
125
                                                    </longitude_deg>
126
                                                </coordinates>
127
                                            </coordinates_id>
128
                                            <country>$country</country>
129
                                            <county>$pol2</county>
130
                                            <stateprovince>$pol1</stateprovince>
131
                                        </place>
132
                                    </matched_place_id>
133
                                    <stateprovince>$pol1</stateprovince>
134
                                </place>
135
                            </place_id>
136
                        </locationplace>
137
                        <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
138
                        <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
139
                    </location>
140
                </path>
141
            </_simplifyPath>
142
        </path>
143
    </_setDefault>
144
</VegBIEN>
145
Inserted 18 new rows into database
(5-5/6)