1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>$PlotName</authorlocationcode>
|
8
|
<sourceaccessioncode>$PlotID</sourceaccessioncode>
|
9
|
<area>$SizeOfSite</area>
|
10
|
<elevation>
|
11
|
<_replace>
|
12
|
<\bca\.?></\bca\.?>
|
13
|
<value>$Elevation</value>
|
14
|
</_replace>
|
15
|
</elevation>
|
16
|
<locationdetermination>
|
17
|
<footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
|
18
|
<latitude>
|
19
|
<_nullIf>
|
20
|
<null>0</null>
|
21
|
<type>float</type>
|
22
|
<value>$Latitude</value>
|
23
|
</_nullIf>
|
24
|
</latitude>
|
25
|
<longitude>
|
26
|
<_nullIf>
|
27
|
<null>0</null>
|
28
|
<type>float</type>
|
29
|
<value>$Longitude</value>
|
30
|
</_nullIf>
|
31
|
</longitude>
|
32
|
<namedplace_id>
|
33
|
<namedplace>
|
34
|
<rank>county</rank>
|
35
|
<parent_id>
|
36
|
<namedplace>
|
37
|
<rank>stateProvince</rank>
|
38
|
<parent_id>
|
39
|
<namedplace>
|
40
|
<rank>country</rank>
|
41
|
<placename>$CountryName</placename>
|
42
|
</namedplace>
|
43
|
</parent_id>
|
44
|
</namedplace>
|
45
|
</parent_id>
|
46
|
</namedplace>
|
47
|
</namedplace_id>
|
48
|
</locationdetermination>
|
49
|
<locationnarrative>
|
50
|
<_alt>
|
51
|
<0>$DescriptionOfSite</0>
|
52
|
<1>$LocationName</1>
|
53
|
</_alt>
|
54
|
</locationnarrative>
|
55
|
</location>
|
56
|
</path>
|
57
|
</_simplifyPath>
|
58
|
</VegBIEN>
|
59
|
Inserted 6 new rows into database
|