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