Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$SiteCode</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</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</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
                <locationevent>
22
                    <method_id><method><name>$PlotMethod</name></method></method_id>
23
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
24
                    <commclass>
25
                        <commdetermination>
26
                            <commconcept_id>
27
                                <commconcept>
28
                                    <commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
29
                                    <commdescription>$life_zone</commdescription>
30
                                </commconcept>
31
                            </commconcept_id>
32
                        </commdetermination>
33
                    </commclass>
34
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
35
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
36
                    <precipitation_m>$Precip</precipitation_m>
37
                    <soilobs>
38
                        <acidity_fraction>
39
                            <_percent_to_fraction>
40
                                <value>
41
                                    <_map>
42
                                        <<0.05>0</<0.05>
43
                                        <*>*</*>
44
                                        <value>$soil_acidity</value>
45
                                    </_map>
46
                                </value>
47
                            </_percent_to_fraction>
48
                        </acidity_fraction>
49
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
50
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
51
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
52
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
53
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
54
                        <conductivity>$soil_conductivity</conductivity>
55
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
56
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
57
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
58
                        <ph>$pH</ph>
59
                        <phosphorus_fraction>
60
                            <_percent_to_fraction>
61
                                <value>
62
                                    <_map>
63
                                        <<1,5>0</<1,5>
64
                                        <*>*</*>
65
                                        <value>$soil_P</value>
66
                                    </_map>
67
                                </value>
68
                            </_percent_to_fraction>
69
                        </phosphorus_fraction>
70
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
71
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
72
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
73
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
74
                        <texture>$soil_texture</texture>
75
                    </soilobs>
76
                    <temperature_c>$Temp</temperature_c>
77
                </locationevent>
78
                <locationnarrative>
79
                    <_merge>
80
                        <1>$Locality_Description</1>
81
                        <3>
82
                            <_label>
83
                                <label>habitat</label>
84
                                <value>$Habitat</value>
85
                            </_label>
86
                        </3>
87
                    </_merge>
88
                </locationnarrative>
89
                <locationplace>
90
                    <place_id>
91
                        <place>
92
                            <coordinates_id>
93
                                <coordinates>
94
                                    <latitude_deg>
95
                                        <_nullIf>
96
                                            <null>0</null>
97
                                            <type>float</type>
98
                                            <value>$LatDec</value>
99
                                        </_nullIf>
100
                                    </latitude_deg>
101
                                    <longitude_deg>
102
                                        <_nullIf>
103
                                            <null>0</null>
104
                                            <type>float</type>
105
                                            <value>$LongDec</value>
106
                                        </_nullIf>
107
                                    </longitude_deg>
108
                                </coordinates>
109
                            </coordinates_id>
110
                            <continent>$MajorGeo</continent>
111
                            <country>$Country</country>
112
                            <county>$pol2</county>
113
                            <matched_place_id>
114
                                <place>
115
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
116
                                    <coordinates_id>
117
                                        <coordinates>
118
                                            <latitude_deg>
119
                                                <_nullIf>
120
                                                    <null>0</null>
121
                                                    <type>float</type>
122
                                                    <value>$LatDec</value>
123
                                                </_nullIf>
124
                                            </latitude_deg>
125
                                            <longitude_deg>
126
                                                <_nullIf>
127
                                                    <null>0</null>
128
                                                    <type>float</type>
129
                                                    <value>$LongDec</value>
130
                                                </_nullIf>
131
                                            </longitude_deg>
132
                                        </coordinates>
133
                                    </coordinates_id>
134
                                    <country>$Country</country>
135
                                    <stateprovince>$PolDiv1</stateprovince>
136
                                </place>
137
                            </matched_place_id>
138
                            <stateprovince>$PolDiv1</stateprovince>
139
                        </place>
140
                    </place_id>
141
                </locationplace>
142
                <notespublic>$plot_notes</notespublic>
143
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
144
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
145
            </location>
146
        </path>
147
    </_simplifyPath>
148
</VegBIEN>
149
Inserted 26 new rows into database
(6-6/7)