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