1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>geoscrub.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<locationplace>
|
11
|
<place_id>
|
12
|
<place>
|
13
|
<coordinates_id>
|
14
|
<coordinates>
|
15
|
<latitude_deg>
|
16
|
<_nullIf>
|
17
|
<null>0</null>
|
18
|
<type>float</type>
|
19
|
<value>$decimalLatitude</value>
|
20
|
</_nullIf>
|
21
|
</latitude_deg>
|
22
|
<longitude_deg>
|
23
|
<_nullIf>
|
24
|
<null>0</null>
|
25
|
<type>float</type>
|
26
|
<value>$decimalLongitude</value>
|
27
|
</_nullIf>
|
28
|
</longitude_deg>
|
29
|
</coordinates>
|
30
|
</coordinates_id>
|
31
|
<country>$country</country>
|
32
|
<county>$county</county>
|
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
|
<matched_place_id>0</matched_place_id>
|
56
|
<country>$acceptedCountry</country>
|
57
|
<county>$acceptedCounty</county>
|
58
|
<stateprovince>$acceptedStateProvince</stateprovince>
|
59
|
<geovalid>
|
60
|
<_alt>
|
61
|
<2>false</2>
|
62
|
<1>$geovalid</1>
|
63
|
</_alt>
|
64
|
</geovalid>
|
65
|
</place>
|
66
|
</matched_place_id>
|
67
|
<stateprovince>$stateProvince</stateprovince>
|
68
|
</place>
|
69
|
</place_id>
|
70
|
</locationplace>
|
71
|
</location>
|
72
|
</path>
|
73
|
</_simplifyPath>
|
74
|
</path>
|
75
|
</_setDefault>
|
76
|
</VegBIEN>
|
77
|
Inserted 10 new rows into database
|