1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>$authorplotcode</authorlocationcode>
|
5
|
<sourceaccessioncode>$plot_id</sourceaccessioncode>
|
6
|
<area>$area</area>
|
7
|
<elevation>
|
8
|
<_replace>
|
9
|
<\bca\.?></\bca\.?>
|
10
|
<value>$elevation</value>
|
11
|
</_replace>
|
12
|
</elevation>
|
13
|
<landform>$landform</landform>
|
14
|
<locationdetermination>
|
15
|
<coordsaccuracy><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy>
|
16
|
<footprintgeometry_dwc>$shape</footprintgeometry_dwc>
|
17
|
<latitude>
|
18
|
<_nullIf>
|
19
|
<null>0</null>
|
20
|
<type>float</type>
|
21
|
<value>$latitude</value>
|
22
|
</_nullIf>
|
23
|
</latitude>
|
24
|
<longitude>
|
25
|
<_nullIf>
|
26
|
<null>0</null>
|
27
|
<type>float</type>
|
28
|
<value>$longitude</value>
|
29
|
</_nullIf>
|
30
|
</longitude>
|
31
|
<namedplace_id>
|
32
|
<_simplifyPath>
|
33
|
<next>parent_id/namedplace</next>
|
34
|
<require>placename</require>
|
35
|
<path>
|
36
|
<namedplace>
|
37
|
<rank>county</rank>
|
38
|
<placename>$county</placename>
|
39
|
<parent_id>
|
40
|
<namedplace>
|
41
|
<rank>stateProvince</rank>
|
42
|
<placename>
|
43
|
<_alt>
|
44
|
<0>$region|state|province</0>
|
45
|
<1>$stateprovince</1>
|
46
|
</_alt>
|
47
|
</placename>
|
48
|
<parent_id>
|
49
|
<namedplace>
|
50
|
<rank>country</rank>
|
51
|
<placename>
|
52
|
<_alt>
|
53
|
<0>$area|country|territory</0>
|
54
|
<1>$country</1>
|
55
|
</_alt>
|
56
|
</placename>
|
57
|
<parent_id>
|
58
|
<namedplace>
|
59
|
<rank>continent</rank>
|
60
|
<placename>$continent</placename>
|
61
|
</namedplace>
|
62
|
</parent_id>
|
63
|
</namedplace>
|
64
|
</parent_id>
|
65
|
</namedplace>
|
66
|
</parent_id>
|
67
|
</namedplace>
|
68
|
</path>
|
69
|
</_simplifyPath>
|
70
|
</namedplace_id>
|
71
|
</locationdetermination>
|
72
|
<locationnarrative>$locationnarrative</locationnarrative>
|
73
|
<slopeaspect>
|
74
|
<_compass>
|
75
|
<value>
|
76
|
<_alt>
|
77
|
<1>$slopeaspect</1>
|
78
|
<2>
|
79
|
<_avg>
|
80
|
<max>$maxslopeaspect</max>
|
81
|
<min>$minslopeaspect</min>
|
82
|
</_avg>
|
83
|
</2>
|
84
|
</_alt>
|
85
|
</value>
|
86
|
</_compass>
|
87
|
</slopeaspect>
|
88
|
<slopegradient>
|
89
|
<_alt>
|
90
|
<1>$slopegradient</1>
|
91
|
<2>
|
92
|
<_avg>
|
93
|
<max>$maxslopegradient</max>
|
94
|
<min>$minslopegradient</min>
|
95
|
</_avg>
|
96
|
</2>
|
97
|
</_alt>
|
98
|
</slopegradient>
|
99
|
</location>
|
100
|
</VegBIEN>
|
101
|
Inserted 7 new rows into database
|