1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>$authorplotcode</authorlocationcode>
|
8
|
<sourceaccessioncode>$plot_id</sourceaccessioncode>
|
9
|
<area_m2>$area</area_m2>
|
10
|
<elevation_m>$elevation</elevation_m>
|
11
|
<landform>$landform</landform>
|
12
|
<locationnarrative>$locationnarrative</locationnarrative>
|
13
|
<locationplace>
|
14
|
<place_id>
|
15
|
<place>
|
16
|
<coordinates_id>
|
17
|
<coordinates>
|
18
|
<coordsaccuracy_deg><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy_deg>
|
19
|
<footprintgeometry_dwc>$shape</footprintgeometry_dwc>
|
20
|
<latitude_deg>
|
21
|
<_nullIf>
|
22
|
<null>0</null>
|
23
|
<type>float</type>
|
24
|
<value>$latitude</value>
|
25
|
</_nullIf>
|
26
|
</latitude_deg>
|
27
|
<longitude_deg>
|
28
|
<_nullIf>
|
29
|
<null>0</null>
|
30
|
<type>float</type>
|
31
|
<value>$longitude</value>
|
32
|
</_nullIf>
|
33
|
</longitude_deg>
|
34
|
</coordinates>
|
35
|
</coordinates_id>
|
36
|
<continent>$continent</continent>
|
37
|
<country>
|
38
|
<_alt>
|
39
|
<0>$area|country|territory</0>
|
40
|
<1>$country</1>
|
41
|
</_alt>
|
42
|
</country>
|
43
|
<county>$county</county>
|
44
|
<matched_place_id>
|
45
|
<place>
|
46
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
47
|
<coordinates_id>
|
48
|
<coordinates>
|
49
|
<latitude_deg>
|
50
|
<_nullIf>
|
51
|
<null>0</null>
|
52
|
<type>float</type>
|
53
|
<value>$latitude</value>
|
54
|
</_nullIf>
|
55
|
</latitude_deg>
|
56
|
<longitude_deg>
|
57
|
<_nullIf>
|
58
|
<null>0</null>
|
59
|
<type>float</type>
|
60
|
<value>$longitude</value>
|
61
|
</_nullIf>
|
62
|
</longitude_deg>
|
63
|
</coordinates>
|
64
|
</coordinates_id>
|
65
|
<country>
|
66
|
<_alt>
|
67
|
<0>$area|country|territory</0>
|
68
|
<1>$country</1>
|
69
|
</_alt>
|
70
|
</country>
|
71
|
<stateprovince>
|
72
|
<_alt>
|
73
|
<0>$region|state|province</0>
|
74
|
<1>$stateprovince</1>
|
75
|
</_alt>
|
76
|
</stateprovince>
|
77
|
</place>
|
78
|
</matched_place_id>
|
79
|
<stateprovince>
|
80
|
<_alt>
|
81
|
<0>$region|state|province</0>
|
82
|
<1>$stateprovince</1>
|
83
|
</_alt>
|
84
|
</stateprovince>
|
85
|
</place>
|
86
|
</place_id>
|
87
|
</locationplace>
|
88
|
<parent_id><location><sourceaccessioncode>$parent_id</sourceaccessioncode></location></parent_id>
|
89
|
<slopeaspect_deg>
|
90
|
<_alt>
|
91
|
<1><_compass><value>$slopeaspect</value></_compass></1>
|
92
|
<2>
|
93
|
<_avg>
|
94
|
<max>$maxslopeaspect</max>
|
95
|
<min>$minslopeaspect</min>
|
96
|
</_avg>
|
97
|
</2>
|
98
|
</_alt>
|
99
|
</slopeaspect_deg>
|
100
|
<slopegradient_fraction>
|
101
|
<_alt>
|
102
|
<1>$slopegradient</1>
|
103
|
<2>
|
104
|
<_avg>
|
105
|
<max>$maxslopegradient</max>
|
106
|
<min>$minslopegradient</min>
|
107
|
</_avg>
|
108
|
</2>
|
109
|
</_alt>
|
110
|
</slopegradient_fraction>
|
111
|
</location>
|
112
|
</path>
|
113
|
</_simplifyPath>
|
114
|
</VegBIEN>
|
115
|
Inserted 12 new rows into database
|