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><_date><date><_dateRangeEnd><value>$CollectionDate</value></_dateRangeEnd></date></_date></obsenddate>
|
11
|
<obsstartdate><_date><date><_dateRangeStart><value>$CollectionDate</value></_dateRangeStart></date></_date></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
|
</place>
|
35
|
</place_id>
|
36
|
</locationplace>
|
37
|
</location>
|
38
|
</path>
|
39
|
</_simplifyPath>
|
40
|
</VegBIEN>
|
41
|
Inserted 12 new rows into database
|