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_m2><_ha_to_m2><value>$SizeOfSite</value></_ha_to_m2></area_m2>
|
10
|
<elevation_m>
|
11
|
<_replace>
|
12
|
<\bca\.?></\bca\.?>
|
13
|
<value>$Elevation</value>
|
14
|
</_replace>
|
15
|
</elevation_m>
|
16
|
<locationcoords>
|
17
|
<footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
|
18
|
<latitude_deg>
|
19
|
<_nullIf>
|
20
|
<null>0</null>
|
21
|
<type>float</type>
|
22
|
<value>$Latitude</value>
|
23
|
</_nullIf>
|
24
|
</latitude_deg>
|
25
|
<longitude_deg>
|
26
|
<_nullIf>
|
27
|
<null>0</null>
|
28
|
<type>float</type>
|
29
|
<value>$Longitude</value>
|
30
|
</_nullIf>
|
31
|
</longitude_deg>
|
32
|
</locationcoords>
|
33
|
<locationnarrative>
|
34
|
<_alt>
|
35
|
<0>$DescriptionOfSite</0>
|
36
|
<1>$LocationName</1>
|
37
|
</_alt>
|
38
|
</locationnarrative>
|
39
|
<locationplace><placepath_id><placepath><country>$CountryName</country></placepath></placepath_id></locationplace>
|
40
|
</location>
|
41
|
</path>
|
42
|
</_simplifyPath>
|
43
|
</VegBIEN>
|
44
|
Inserted 8 new rows into database
|