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
                <accesslevel>
10
                    <_map>
11
                        <1>private</1>
12
                        <2>metadata only</2>
13
                        <3>public</3>
14
                        <value>$AccessCode</value>
15
                    </_map>
16
                </accesslevel>
17
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
18
                <elevation_m>
19
                    <_alt>
20
                        <1>$Elev</1>
21
                        <2>
22
                            <_avg>
23
                                <max>$elev_max_m</max>
24
                                <min>$elev_min_m</min>
25
                            </_avg>
26
                        </2>
27
                    </_alt>
28
                </elevation_m>
29
                <landform>$topography_desc</landform>
30
                <locationevent>
31
                    <method_id>
32
                        <method>
33
                            <name>$PlotMethod</name>
34
                            <observationmeasure>$lookup_MethodCode_Description</observationmeasure>
35
                        </method>
36
                    </method_id>
37
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
38
                    <commclass>
39
                        <commdetermination>
40
                            <commconcept_id>
41
                                <commconcept>
42
                                    <commname_id>
43
                                        <commname>
44
                                            <commname>
45
                                                <_alt>
46
                                                    <1>$vegetation_2</1>
47
                                                    <2>$vegetation_1</2>
48
                                                    <3>$life_zone</3>
49
                                                    <4>$life_zone_code</4>
50
                                                </_alt>
51
                                            </commname>
52
                                        </commname>
53
                                    </commname_id>
54
                                </commconcept>
55
                            </commconcept_id>
56
                        </commdetermination>
57
                    </commclass>
58
                    <obsenddate>$date_finish</obsenddate>
59
                    <obsstartdate>$date_start</obsstartdate>
60
                    <precipitation_m>$Precip</precipitation_m>
61
                    <soilobs>
62
                        <acidity_fraction>
63
                            <_percent_to_fraction>
64
                                <value>
65
                                    <_map>
66
                                        <<0.05>0</<0.05>
67
                                        <*>*</*>
68
                                        <value>$soil_acidity</value>
69
                                    </_map>
70
                                </value>
71
                            </_percent_to_fraction>
72
                        </acidity_fraction>
73
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
74
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
75
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
76
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
77
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
78
                        <conductivity>$soil_conductivity</conductivity>
79
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
80
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
81
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
82
                        <ph>$pH</ph>
83
                        <phosphorus_fraction>
84
                            <_percent_to_fraction>
85
                                <value>
86
                                    <_map>
87
                                        <<1,5>0</<1,5>
88
                                        <*>*</*>
89
                                        <value>$soil_P</value>
90
                                    </_map>
91
                                </value>
92
                            </_percent_to_fraction>
93
                        </phosphorus_fraction>
94
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
95
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
96
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
97
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
98
                        <texture>$soil_texture</texture>
99
                    </soilobs>
100
                    <temperature_c>$Temp</temperature_c>
101
                </locationevent>
102
                <locationnarrative>
103
                    <_merge>
104
                        <1>$Locality_Description</1>
105
                        <3>
106
                            <_label>
107
                                <label>habitat</label>
108
                                <value>$Habitat</value>
109
                            </_label>
110
                        </3>
111
                    </_merge>
112
                </locationnarrative>
113
                <locationplace>
114
                    <place_id>
115
                        <place>
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
                                    <verbatimlatitude>$lat_string</verbatimlatitude>
133
                                    <verbatimlongitude>$long_string</verbatimlongitude>
134
                                </coordinates>
135
                            </coordinates_id>
136
                            <continent>$MajorGeo</continent>
137
                            <country>$Country</country>
138
                            <county>$pol2</county>
139
                            <matched_place_id>
140
                                <place>
141
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
142
                                    <coordinates_id>
143
                                        <coordinates>
144
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
145
                                            <latitude_deg>
146
                                                <_nullIf>
147
                                                    <null>0</null>
148
                                                    <type>float</type>
149
                                                    <value>$LatDec</value>
150
                                                </_nullIf>
151
                                            </latitude_deg>
152
                                            <longitude_deg>
153
                                                <_nullIf>
154
                                                    <null>0</null>
155
                                                    <type>float</type>
156
                                                    <value>$LongDec</value>
157
                                                </_nullIf>
158
                                            </longitude_deg>
159
                                        </coordinates>
160
                                    </coordinates_id>
161
                                    <country>$Country</country>
162
                                    <stateprovince>$PolDiv1</stateprovince>
163
                                </place>
164
                            </matched_place_id>
165
                            <stateprovince>$PolDiv1</stateprovince>
166
                        </place>
167
                    </place_id>
168
                </locationplace>
169
                <notespublic>$plot_notes</notespublic>
170
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
171
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
172
            </location>
173
        </path>
174
    </_simplifyPath>
175
</VegBIEN>
176
Inserted 16 new rows into database
(7-7/8)