1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>FIA.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
|
<locationplace>
|
13
|
<place_id>
|
14
|
<place>
|
15
|
<coordinates_id>
|
16
|
<coordinates>
|
17
|
<latitude_deg>
|
18
|
<_nullIf>
|
19
|
<null>0</null>
|
20
|
<type>float</type>
|
21
|
<value>$decimalLatitude</value>
|
22
|
</_nullIf>
|
23
|
</latitude_deg>
|
24
|
<longitude_deg>
|
25
|
<_nullIf>
|
26
|
<null>0</null>
|
27
|
<type>float</type>
|
28
|
<value>$decimalLongitude</value>
|
29
|
</_nullIf>
|
30
|
</longitude_deg>
|
31
|
</coordinates>
|
32
|
</coordinates_id>
|
33
|
<matched_place_id>
|
34
|
<place>
|
35
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
36
|
<coordinates_id>
|
37
|
<coordinates>
|
38
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
39
|
<latitude_deg>
|
40
|
<_nullIf>
|
41
|
<null>0</null>
|
42
|
<type>float</type>
|
43
|
<value>$decimalLatitude</value>
|
44
|
</_nullIf>
|
45
|
</latitude_deg>
|
46
|
<longitude_deg>
|
47
|
<_nullIf>
|
48
|
<null>0</null>
|
49
|
<type>float</type>
|
50
|
<value>$decimalLongitude</value>
|
51
|
</_nullIf>
|
52
|
</longitude_deg>
|
53
|
</coordinates>
|
54
|
</coordinates_id>
|
55
|
</place>
|
56
|
</matched_place_id>
|
57
|
</place>
|
58
|
</place_id>
|
59
|
</locationplace>
|
60
|
</location>
|
61
|
</path>
|
62
|
</_simplifyPath>
|
63
|
</path>
|
64
|
</_setDefault>
|
65
|
</VegBIEN>
|
66
|
Inserted 10 new rows into database
|