1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>CTFS.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>$locationName</authorlocationcode>
|
11
|
<sourceaccessioncode>$locationID</sourceaccessioncode>
|
12
|
<area_m2><_ha_to_m2><value>$plotArea_ha</value></_ha_to_m2></area_m2>
|
13
|
<elevation_m>$elevationInMeters</elevation_m>
|
14
|
<iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
|
15
|
<locationnarrative>
|
16
|
<_merge>
|
17
|
<1>$locality</1>
|
18
|
<4>$locationRemarks</4>
|
19
|
</_merge>
|
20
|
</locationnarrative>
|
21
|
<locationplace>
|
22
|
<place_id>
|
23
|
<place>
|
24
|
<coordinates_id>
|
25
|
<coordinates>
|
26
|
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
|
27
|
<latitude_deg>
|
28
|
<_nullIf>
|
29
|
<null>0</null>
|
30
|
<type>float</type>
|
31
|
<value>$decimalLatitude</value>
|
32
|
</_nullIf>
|
33
|
</latitude_deg>
|
34
|
<longitude_deg>
|
35
|
<_nullIf>
|
36
|
<null>0</null>
|
37
|
<type>float</type>
|
38
|
<value>$decimalLongitude</value>
|
39
|
</_nullIf>
|
40
|
</longitude_deg>
|
41
|
</coordinates>
|
42
|
</coordinates_id>
|
43
|
<country>$country</country>
|
44
|
<matched_place_id>
|
45
|
<place>
|
46
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
47
|
<coordinates_id>
|
48
|
<coordinates>
|
49
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
50
|
<latitude_deg>
|
51
|
<_nullIf>
|
52
|
<null>0</null>
|
53
|
<type>float</type>
|
54
|
<value>$decimalLatitude</value>
|
55
|
</_nullIf>
|
56
|
</latitude_deg>
|
57
|
<longitude_deg>
|
58
|
<_nullIf>
|
59
|
<null>0</null>
|
60
|
<type>float</type>
|
61
|
<value>$decimalLongitude</value>
|
62
|
</_nullIf>
|
63
|
</longitude_deg>
|
64
|
</coordinates>
|
65
|
</coordinates_id>
|
66
|
<country>$country</country>
|
67
|
</place>
|
68
|
</matched_place_id>
|
69
|
</place>
|
70
|
</place_id>
|
71
|
</locationplace>
|
72
|
</location>
|
73
|
</path>
|
74
|
</_simplifyPath>
|
75
|
</path>
|
76
|
</_setDefault>
|
77
|
</VegBIEN>
|
78
|
Inserted 14 new rows into database
|