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