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
|
<stateprovince>
|
45
|
<_alt>
|
46
|
<0>$region|state|province</0>
|
47
|
<1>$stateprovince</1>
|
48
|
</_alt>
|
49
|
</stateprovince>
|
50
|
</place>
|
51
|
</place_id>
|
52
|
</locationplace>
|
53
|
<parent_id><location><sourceaccessioncode>$parent_id</sourceaccessioncode></location></parent_id>
|
54
|
<slopeaspect_deg>
|
55
|
<_alt>
|
56
|
<1><_compass><value>$slopeaspect</value></_compass></1>
|
57
|
<2>
|
58
|
<_avg>
|
59
|
<max>$maxslopeaspect</max>
|
60
|
<min>$minslopeaspect</min>
|
61
|
</_avg>
|
62
|
</2>
|
63
|
</_alt>
|
64
|
</slopeaspect_deg>
|
65
|
<slopegradient_fraction>
|
66
|
<_alt>
|
67
|
<1>$slopegradient</1>
|
68
|
<2>
|
69
|
<_avg>
|
70
|
<max>$maxslopegradient</max>
|
71
|
<min>$minslopegradient</min>
|
72
|
</_avg>
|
73
|
</2>
|
74
|
</_alt>
|
75
|
</slopegradient_fraction>
|
76
|
</location>
|
77
|
</path>
|
78
|
</_simplifyPath>
|
79
|
</VegBIEN>
|
80
|
Inserted 9 new rows into database
|