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
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
50
|
<latitude_deg>
|
51
|
<_nullIf>
|
52
|
<null>0</null>
|
53
|
<type>float</type>
|
54
|
<value>$latitude</value>
|
55
|
</_nullIf>
|
56
|
</latitude_deg>
|
57
|
<longitude_deg>
|
58
|
<_nullIf>
|
59
|
<null>0</null>
|
60
|
<type>float</type>
|
61
|
<value>$longitude</value>
|
62
|
</_nullIf>
|
63
|
</longitude_deg>
|
64
|
</coordinates>
|
65
|
</coordinates_id>
|
66
|
<country>
|
67
|
<_alt>
|
68
|
<0>$area|country|territory</0>
|
69
|
<1>$country</1>
|
70
|
</_alt>
|
71
|
</country>
|
72
|
<stateprovince>
|
73
|
<_alt>
|
74
|
<0>$region|state|province</0>
|
75
|
<1>$stateprovince</1>
|
76
|
</_alt>
|
77
|
</stateprovince>
|
78
|
</place>
|
79
|
</matched_place_id>
|
80
|
<stateprovince>
|
81
|
<_alt>
|
82
|
<0>$region|state|province</0>
|
83
|
<1>$stateprovince</1>
|
84
|
</_alt>
|
85
|
</stateprovince>
|
86
|
</place>
|
87
|
</place_id>
|
88
|
</locationplace>
|
89
|
<parent_id><location><sourceaccessioncode>$parent_id</sourceaccessioncode></location></parent_id>
|
90
|
<slopeaspect_deg>
|
91
|
<_alt>
|
92
|
<1><_compass><value>$slopeaspect</value></_compass></1>
|
93
|
<2>
|
94
|
<_avg>
|
95
|
<max>$maxslopeaspect</max>
|
96
|
<min>$minslopeaspect</min>
|
97
|
</_avg>
|
98
|
</2>
|
99
|
</_alt>
|
100
|
</slopeaspect_deg>
|
101
|
<slopegradient_fraction>
|
102
|
<_alt>
|
103
|
<1>$slopegradient</1>
|
104
|
<2>
|
105
|
<_avg>
|
106
|
<max>$maxslopegradient</max>
|
107
|
<min>$minslopegradient</min>
|
108
|
</_avg>
|
109
|
</2>
|
110
|
</_alt>
|
111
|
</slopegradient_fraction>
|
112
|
</location>
|
113
|
</path>
|
114
|
</_simplifyPath>
|
115
|
</VegBIEN>
|
116
|
Inserted 12 new rows into database
|