1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>Madidi.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>$locationName</authorlocationcode>
|
11
|
<sourceaccessioncode>$locationID</sourceaccessioncode>
|
12
|
<iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
|
13
|
<locationevent>
|
14
|
<project_id>
|
15
|
<project>
|
16
|
<projectname>$projectName</projectname>
|
17
|
<sourceaccessioncode>$projectID</sourceaccessioncode>
|
18
|
</project>
|
19
|
</project_id>
|
20
|
<authoreventcode>$authorEventCode</authoreventcode>
|
21
|
<commclass><commdetermination><commconcept_id><commconcept><commname_id><commname><commname>$communityID</commname></commname></commname_id></commconcept></commconcept_id></commdetermination></commclass>
|
22
|
<soilsample>
|
23
|
<acidity_fraction><_percent_to_fraction><value>$acidity_percent</value></_percent_to_fraction></acidity_fraction>
|
24
|
<calcium_fraction><_percent_to_fraction><value>$calcium_percent</value></_percent_to_fraction></calcium_fraction>
|
25
|
<carbon_fraction><_percent_to_fraction><value>$carbon_percent</value></_percent_to_fraction></carbon_fraction>
|
26
|
<cationexchangecapacity_cmol_kg>$cationExchangeCapacity_cmol_kg</cationexchangecapacity_cmol_kg>
|
27
|
<clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
|
28
|
<conductivity>$conductivity</conductivity>
|
29
|
<magnesium_fraction><_percent_to_fraction><value>$magnesium_percent</value></_percent_to_fraction></magnesium_fraction>
|
30
|
<nitrogen_fraction><_percent_to_fraction><value>$nitrogen_percent</value></_percent_to_fraction></nitrogen_fraction>
|
31
|
<organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
|
32
|
<ph>$ph</ph>
|
33
|
<phosphorus_fraction><_percent_to_fraction><value>$phosphorus_percent</value></_percent_to_fraction></phosphorus_fraction>
|
34
|
<potassium_fraction><_percent_to_fraction><value>$potassium_percent</value></_percent_to_fraction></potassium_fraction>
|
35
|
<sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
|
36
|
<silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
|
37
|
<sodium_fraction><_percent_to_fraction><value>$sodium_percent</value></_percent_to_fraction></sodium_fraction>
|
38
|
<texture>$texture</texture>
|
39
|
</soilsample>
|
40
|
</locationevent>
|
41
|
<locationnarrative>
|
42
|
<_merge>
|
43
|
<1>$locality</1>
|
44
|
<4>$locationRemarks</4>
|
45
|
</_merge>
|
46
|
</locationnarrative>
|
47
|
<locationplace>
|
48
|
<place_id>
|
49
|
<place>
|
50
|
<coordinates_id>
|
51
|
<coordinates>
|
52
|
<latitude_deg>
|
53
|
<_nullIf>
|
54
|
<null>0</null>
|
55
|
<type>float</type>
|
56
|
<value>$decimalLatitude</value>
|
57
|
</_nullIf>
|
58
|
</latitude_deg>
|
59
|
<longitude_deg>
|
60
|
<_nullIf>
|
61
|
<null>0</null>
|
62
|
<type>float</type>
|
63
|
<value>$decimalLongitude</value>
|
64
|
</_nullIf>
|
65
|
</longitude_deg>
|
66
|
</coordinates>
|
67
|
</coordinates_id>
|
68
|
<matched_place_id>
|
69
|
<place>
|
70
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
71
|
<coordinates_id>
|
72
|
<coordinates>
|
73
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
74
|
<latitude_deg>
|
75
|
<_nullIf>
|
76
|
<null>0</null>
|
77
|
<type>float</type>
|
78
|
<value>$decimalLatitude</value>
|
79
|
</_nullIf>
|
80
|
</latitude_deg>
|
81
|
<longitude_deg>
|
82
|
<_nullIf>
|
83
|
<null>0</null>
|
84
|
<type>float</type>
|
85
|
<value>$decimalLongitude</value>
|
86
|
</_nullIf>
|
87
|
</longitude_deg>
|
88
|
</coordinates>
|
89
|
</coordinates_id>
|
90
|
</place>
|
91
|
</matched_place_id>
|
92
|
</place>
|
93
|
</place_id>
|
94
|
</locationplace>
|
95
|
<slopegradient_fraction>$slopeGradient</slopegradient_fraction>
|
96
|
</location>
|
97
|
</path>
|
98
|
</_simplifyPath>
|
99
|
</path>
|
100
|
</_setDefault>
|
101
|
</VegBIEN>
|
102
|
Inserted 28 new rows into database
|