1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>VegBank</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>$authorplotcode</authorlocationcode>
|
11
|
<sourceaccessioncode>$plot_id</sourceaccessioncode>
|
12
|
<accesslevel>
|
13
|
<_map>
|
14
|
<0>public</0>
|
15
|
<1>public</1>
|
16
|
<2>public</2>
|
17
|
<3>public</3>
|
18
|
<4>public</4>
|
19
|
<5>data by request</5>
|
20
|
<6>private</6>
|
21
|
<value>$confidentialitystatus</value>
|
22
|
</_map>
|
23
|
</accesslevel>
|
24
|
<area_m2>$area</area_m2>
|
25
|
<elevation_m>$elevation</elevation_m>
|
26
|
<iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locationnarrative</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
|
27
|
<landform>$landform</landform>
|
28
|
<locationnarrative>$locationnarrative</locationnarrative>
|
29
|
<locationplace>
|
30
|
<place_id>
|
31
|
<place>
|
32
|
<coordinates_id>
|
33
|
<coordinates>
|
34
|
<coordsaccuracy_m>
|
35
|
<_noCV>
|
36
|
<value>
|
37
|
<_alt>
|
38
|
<1>
|
39
|
<_km_to_m>
|
40
|
<value>
|
41
|
<_map>
|
42
|
<1>1</1>
|
43
|
<2>10</2>
|
44
|
<3>100</3>
|
45
|
<0></0>
|
46
|
<4></4>
|
47
|
<5></5>
|
48
|
<6></6>
|
49
|
<value>$confidentialitystatus</value>
|
50
|
</_map>
|
51
|
</value>
|
52
|
</_km_to_m>
|
53
|
</1>
|
54
|
<2>$locationaccuracy</2>
|
55
|
</_alt>
|
56
|
</value>
|
57
|
</_noCV>
|
58
|
</coordsaccuracy_m>
|
59
|
<footprintgeometry_dwc>$shape</footprintgeometry_dwc>
|
60
|
<latitude_deg>
|
61
|
<_nullIf>
|
62
|
<null>0</null>
|
63
|
<type>float</type>
|
64
|
<value>$latitude</value>
|
65
|
</_nullIf>
|
66
|
</latitude_deg>
|
67
|
<longitude_deg>
|
68
|
<_nullIf>
|
69
|
<null>0</null>
|
70
|
<type>float</type>
|
71
|
<value>$longitude</value>
|
72
|
</_nullIf>
|
73
|
</longitude_deg>
|
74
|
</coordinates>
|
75
|
</coordinates_id>
|
76
|
<continent>$continent</continent>
|
77
|
<country>$country</country>
|
78
|
<county>$county</county>
|
79
|
<matched_place_id>
|
80
|
<place>
|
81
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
82
|
<coordinates_id>
|
83
|
<coordinates>
|
84
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
85
|
<latitude_deg>
|
86
|
<_nullIf>
|
87
|
<null>0</null>
|
88
|
<type>float</type>
|
89
|
<value>$latitude</value>
|
90
|
</_nullIf>
|
91
|
</latitude_deg>
|
92
|
<longitude_deg>
|
93
|
<_nullIf>
|
94
|
<null>0</null>
|
95
|
<type>float</type>
|
96
|
<value>$longitude</value>
|
97
|
</_nullIf>
|
98
|
</longitude_deg>
|
99
|
</coordinates>
|
100
|
</coordinates_id>
|
101
|
<country>$country</country>
|
102
|
<county>$county</county>
|
103
|
<stateprovince>$stateprovince</stateprovince>
|
104
|
</place>
|
105
|
</matched_place_id>
|
106
|
<stateprovince>$stateprovince</stateprovince>
|
107
|
</place>
|
108
|
</place_id>
|
109
|
</locationplace>
|
110
|
<parent_id><location><sourceaccessioncode>$parent_id</sourceaccessioncode></location></parent_id>
|
111
|
<slopeaspect_deg>
|
112
|
<_alt>
|
113
|
<1><_compass><value>$slopeaspect</value></_compass></1>
|
114
|
<2>
|
115
|
<_avg>
|
116
|
<1>$minslopeaspect</1>
|
117
|
<2>$maxslopeaspect</2>
|
118
|
</_avg>
|
119
|
</2>
|
120
|
</_alt>
|
121
|
</slopeaspect_deg>
|
122
|
<slopegradient_fraction>
|
123
|
<_alt>
|
124
|
<1>$slopegradient</1>
|
125
|
<2>
|
126
|
<_avg>
|
127
|
<1>$minslopegradient</1>
|
128
|
<2>$maxslopegradient</2>
|
129
|
</_avg>
|
130
|
</2>
|
131
|
</_alt>
|
132
|
</slopegradient_fraction>
|
133
|
</location>
|
134
|
</path>
|
135
|
</_simplifyPath>
|
136
|
</path>
|
137
|
</_setDefault>
|
138
|
</VegBIEN>
|
139
|
Inserted 14 new rows into database
|