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>$area</area>
|
10
|
<elevation>
|
11
|
<_replace>
|
12
|
<\bca\.?></\bca\.?>
|
13
|
<value>$elevation</value>
|
14
|
</_replace>
|
15
|
</elevation>
|
16
|
<landform>$landform</landform>
|
17
|
<locationcoords>
|
18
|
<coordsaccuracy><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy>
|
19
|
<footprintgeometry_dwc>$shape</footprintgeometry_dwc>
|
20
|
<latitude>
|
21
|
<_nullIf>
|
22
|
<null>0</null>
|
23
|
<type>float</type>
|
24
|
<value>$latitude</value>
|
25
|
</_nullIf>
|
26
|
</latitude>
|
27
|
<longitude>
|
28
|
<_nullIf>
|
29
|
<null>0</null>
|
30
|
<type>float</type>
|
31
|
<value>$longitude</value>
|
32
|
</_nullIf>
|
33
|
</longitude>
|
34
|
</locationcoords>
|
35
|
<locationnarrative>$locationnarrative</locationnarrative>
|
36
|
<locationplace>
|
37
|
<placepath_id>
|
38
|
<placepath>
|
39
|
<continent>$continent</continent>
|
40
|
<country>
|
41
|
<_alt>
|
42
|
<0>$area|country|territory</0>
|
43
|
<1>$country</1>
|
44
|
</_alt>
|
45
|
</country>
|
46
|
<county>$county</county>
|
47
|
<stateprovince>
|
48
|
<_alt>
|
49
|
<0>$region|state|province</0>
|
50
|
<1>$stateprovince</1>
|
51
|
</_alt>
|
52
|
</stateprovince>
|
53
|
</placepath>
|
54
|
</placepath_id>
|
55
|
</locationplace>
|
56
|
<slopeaspect>
|
57
|
<_alt>
|
58
|
<1><_compass><value>$slopeaspect</value></_compass></1>
|
59
|
<2>
|
60
|
<_avg>
|
61
|
<max>$maxslopeaspect</max>
|
62
|
<min>$minslopeaspect</min>
|
63
|
</_avg>
|
64
|
</2>
|
65
|
</_alt>
|
66
|
</slopeaspect>
|
67
|
<slopegradient>
|
68
|
<_alt>
|
69
|
<1>$slopegradient</1>
|
70
|
<2>
|
71
|
<_avg>
|
72
|
<max>$maxslopegradient</max>
|
73
|
<min>$minslopegradient</min>
|
74
|
</_avg>
|
75
|
</2>
|
76
|
</_alt>
|
77
|
</slopegradient>
|
78
|
</location>
|
79
|
</path>
|
80
|
</_simplifyPath>
|
81
|
</VegBIEN>
|
82
|
Inserted 9 new rows into database
|