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
|
<locationcoords>
|
22
|
<latitude_deg>
|
23
|
<_nullIf>
|
24
|
<null>0</null>
|
25
|
<type>float</type>
|
26
|
<value>$LatDec</value>
|
27
|
</_nullIf>
|
28
|
</latitude_deg>
|
29
|
<longitude_deg>
|
30
|
<_nullIf>
|
31
|
<null>0</null>
|
32
|
<type>float</type>
|
33
|
<value>$LongDec</value>
|
34
|
</_nullIf>
|
35
|
</longitude_deg>
|
36
|
</locationcoords>
|
37
|
<locationevent>
|
38
|
<method_id><method><name>$PlotMethod</name></method></method_id>
|
39
|
<project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
|
40
|
<commclass>
|
41
|
<commdetermination>
|
42
|
<commconcept_id>
|
43
|
<commconcept>
|
44
|
<commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
|
45
|
<commdescription>$life_zone</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</precipitation_m>
|
53
|
<soilobs>
|
54
|
<acidity_fraction>
|
55
|
<_percent_to_fraction>
|
56
|
<value>
|
57
|
<_map>
|
58
|
<<0.05>0</<0.05>
|
59
|
<*>*</*>
|
60
|
<value>$soil_acidity</value>
|
61
|
</_map>
|
62
|
</value>
|
63
|
</_percent_to_fraction>
|
64
|
</acidity_fraction>
|
65
|
<basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
|
66
|
<calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
|
67
|
<carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
|
68
|
<cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
|
69
|
<clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
|
70
|
<conductivity>$soil_conductivity</conductivity>
|
71
|
<magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
|
72
|
<nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
|
73
|
<organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
|
74
|
<ph>$pH</ph>
|
75
|
<phosphorus_fraction>
|
76
|
<_percent_to_fraction>
|
77
|
<value>
|
78
|
<_map>
|
79
|
<<1,5>0</<1,5>
|
80
|
<*>*</*>
|
81
|
<value>$soil_P</value>
|
82
|
</_map>
|
83
|
</value>
|
84
|
</_percent_to_fraction>
|
85
|
</phosphorus_fraction>
|
86
|
<potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
|
87
|
<sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
|
88
|
<silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
|
89
|
<sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
|
90
|
<texture>$soil_texture</texture>
|
91
|
</soilobs>
|
92
|
<temperature_c>$Temp</temperature_c>
|
93
|
</locationevent>
|
94
|
<locationnarrative>
|
95
|
<_merge>
|
96
|
<1>$Locality_Description</1>
|
97
|
<3>
|
98
|
<_label>
|
99
|
<label>habitat</label>
|
100
|
<value>$Habitat</value>
|
101
|
</_label>
|
102
|
</3>
|
103
|
</_merge>
|
104
|
</locationnarrative>
|
105
|
<locationplace>
|
106
|
<placepath_id>
|
107
|
<placepath>
|
108
|
<continent>$MajorGeo</continent>
|
109
|
<country>$Country</country>
|
110
|
<county>$pol2</county>
|
111
|
<stateprovince>$PolDiv1</stateprovince>
|
112
|
</placepath>
|
113
|
</placepath_id>
|
114
|
</locationplace>
|
115
|
<notespublic>$plot_notes</notespublic>
|
116
|
<slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
|
117
|
<slopegradient_fraction>$slope_gradient</slopegradient_fraction>
|
118
|
</location>
|
119
|
</path>
|
120
|
</_simplifyPath>
|
121
|
</VegBIEN>
|
122
|
Inserted 23 new rows into database
|