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
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
46
|
<latitude_deg>
|
47
|
<_nullIf>
|
48
|
<null>0</null>
|
49
|
<type>float</type>
|
50
|
<value>$Latitude</value>
|
51
|
</_nullIf>
|
52
|
</latitude_deg>
|
53
|
<longitude_deg>
|
54
|
<_nullIf>
|
55
|
<null>0</null>
|
56
|
<type>float</type>
|
57
|
<value>$Longitude</value>
|
58
|
</_nullIf>
|
59
|
</longitude_deg>
|
60
|
</coordinates>
|
61
|
</coordinates_id>
|
62
|
<country>$CountryName</country>
|
63
|
</place>
|
64
|
</matched_place_id>
|
65
|
</place>
|
66
|
</place_id>
|
67
|
</locationplace>
|
68
|
</location>
|
69
|
</path>
|
70
|
</_simplifyPath>
|
71
|
</VegBIEN>
|
72
|
Inserted 14 new rows into database
|