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>$Latitude</latitude_deg>
|
46
|
<longitude_deg>$Longitude</longitude_deg>
|
47
|
</coordinates>
|
48
|
</coordinates_id>
|
49
|
<country>$CountryName</country>
|
50
|
</place>
|
51
|
</matched_place_id>
|
52
|
</place>
|
53
|
</place_id>
|
54
|
</locationplace>
|
55
|
</location>
|
56
|
</path>
|
57
|
</_simplifyPath>
|
58
|
</VegBIEN>
|
59
|
Inserted 14 new rows into database
|