1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>TEAM.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>$Name</authorlocationcode>
|
11
|
<locationevent>
|
12
|
<project_id><project><projectname>$Site Name</projectname></project></project_id>
|
13
|
<obsenddate><_dateRangeEnd><value>$CollectionDate</value></_dateRangeEnd></obsenddate>
|
14
|
<obsstartdate><_dateRangeStart><value>$CollectionDate</value></_dateRangeStart></obsstartdate>
|
15
|
</locationevent>
|
16
|
<locationplace>
|
17
|
<place_id>
|
18
|
<place>
|
19
|
<coordinates_id>
|
20
|
<coordinates>
|
21
|
<latitude_deg>
|
22
|
<_nullIf>
|
23
|
<null>0</null>
|
24
|
<type>float</type>
|
25
|
<value>$Latitude</value>
|
26
|
</_nullIf>
|
27
|
</latitude_deg>
|
28
|
<longitude_deg>
|
29
|
<_nullIf>
|
30
|
<null>0</null>
|
31
|
<type>float</type>
|
32
|
<value>$Longitude</value>
|
33
|
</_nullIf>
|
34
|
</longitude_deg>
|
35
|
</coordinates>
|
36
|
</coordinates_id>
|
37
|
<matched_place_id>
|
38
|
<place>
|
39
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
40
|
<coordinates_id>
|
41
|
<coordinates>
|
42
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
43
|
<latitude_deg>
|
44
|
<_nullIf>
|
45
|
<null>0</null>
|
46
|
<type>float</type>
|
47
|
<value>$Latitude</value>
|
48
|
</_nullIf>
|
49
|
</latitude_deg>
|
50
|
<longitude_deg>
|
51
|
<_nullIf>
|
52
|
<null>0</null>
|
53
|
<type>float</type>
|
54
|
<value>$Longitude</value>
|
55
|
</_nullIf>
|
56
|
</longitude_deg>
|
57
|
</coordinates>
|
58
|
</coordinates_id>
|
59
|
</place>
|
60
|
</matched_place_id>
|
61
|
</place>
|
62
|
</place_id>
|
63
|
</locationplace>
|
64
|
</location>
|
65
|
</path>
|
66
|
</_simplifyPath>
|
67
|
</path>
|
68
|
</_setDefault>
|
69
|
</VegBIEN>
|
70
|
Inserted 17 new rows into database
|