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>$Elevation</elevation_m>
|
11
|
<locationnarrative>
|
12
|
<_alt>
|
13
|
<0>$DescriptionOfSite</0>
|
14
|
<1>$LocationName</1>
|
15
|
</_alt>
|
16
|
</locationnarrative>
|
17
|
<locationplace>
|
18
|
<place_id>
|
19
|
<place>
|
20
|
<coordinates_id>
|
21
|
<coordinates>
|
22
|
<footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
|
23
|
<latitude_deg>
|
24
|
<_nullIf>
|
25
|
<null>0</null>
|
26
|
<type>float</type>
|
27
|
<value>$Latitude</value>
|
28
|
</_nullIf>
|
29
|
</latitude_deg>
|
30
|
<longitude_deg>
|
31
|
<_nullIf>
|
32
|
<null>0</null>
|
33
|
<type>float</type>
|
34
|
<value>$Longitude</value>
|
35
|
</_nullIf>
|
36
|
</longitude_deg>
|
37
|
</coordinates>
|
38
|
</coordinates_id>
|
39
|
<country>$CountryName</country>
|
40
|
<matched_place_id>
|
41
|
<place>
|
42
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
43
|
<coordinates_id>
|
44
|
<coordinates>
|
45
|
<latitude_deg>
|
46
|
<_nullIf>
|
47
|
<null>0</null>
|
48
|
<type>float</type>
|
49
|
<value>$Latitude</value>
|
50
|
</_nullIf>
|
51
|
</latitude_deg>
|
52
|
<longitude_deg>
|
53
|
<_nullIf>
|
54
|
<null>0</null>
|
55
|
<type>float</type>
|
56
|
<value>$Longitude</value>
|
57
|
</_nullIf>
|
58
|
</longitude_deg>
|
59
|
</coordinates>
|
60
|
</coordinates_id>
|
61
|
<country>$CountryName</country>
|
62
|
</place>
|
63
|
</matched_place_id>
|
64
|
</place>
|
65
|
</place_id>
|
66
|
</locationplace>
|
67
|
</location>
|
68
|
</path>
|
69
|
</_simplifyPath>
|
70
|
</VegBIEN>
|
71
|
Inserted 14 new rows into database
|