1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>geoscrub</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>
|
63
|
<_and>
|
64
|
<1>$latLongDomainValid</1>
|
65
|
<2>$latLongInCountry</2>
|
66
|
<3>$latLongInStateProvince</3>
|
67
|
<4>$latLongInCounty</4>
|
68
|
</_and>
|
69
|
</1>
|
70
|
</_alt>
|
71
|
</geovalid>
|
72
|
</place>
|
73
|
</matched_place_id>
|
74
|
<stateprovince>$stateProvince</stateprovince>
|
75
|
</place>
|
76
|
</place_id>
|
77
|
</locationplace>
|
78
|
</location>
|
79
|
</path>
|
80
|
</_simplifyPath>
|
81
|
</path>
|
82
|
</_setDefault>
|
83
|
</VegBIEN>
|
84
|
Inserted 6 new rows into database
|