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
|
<matched_place_id>
|
44
|
<place>
|
45
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
46
|
<coordinates_id>
|
47
|
<coordinates>
|
48
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
49
|
<latitude_deg>
|
50
|
<_nullIf>
|
51
|
<null>0</null>
|
52
|
<type>float</type>
|
53
|
<value>$decimalLatitude</value>
|
54
|
</_nullIf>
|
55
|
</latitude_deg>
|
56
|
<longitude_deg>
|
57
|
<_nullIf>
|
58
|
<null>0</null>
|
59
|
<type>float</type>
|
60
|
<value>$decimalLongitude</value>
|
61
|
</_nullIf>
|
62
|
</longitude_deg>
|
63
|
</coordinates>
|
64
|
</coordinates_id>
|
65
|
</place>
|
66
|
</matched_place_id>
|
67
|
</place>
|
68
|
</place_id>
|
69
|
</locationplace>
|
70
|
</location>
|
71
|
</path>
|
72
|
</_simplifyPath>
|
73
|
</path>
|
74
|
</_setDefault>
|
75
|
</VegBIEN>
|
76
|
Inserted 14 new rows into database
|