Project

General

Profile

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