1 |
6237
|
aaronmk
|
Put template:
|
2 |
|
|
<VegBIEN>
|
3 |
|
|
<_simplifyPath id="-1">
|
4 |
|
|
<next>parent_id</next>
|
5 |
|
|
<path>
|
6 |
|
|
<location>
|
7 |
|
|
<locationplace>
|
8 |
|
|
<place_id>
|
9 |
|
|
<place>
|
10 |
|
|
<coordinates_id>
|
11 |
|
|
<coordinates>
|
12 |
|
|
<latitude_deg>
|
13 |
|
|
<_nullIf>
|
14 |
|
|
<null>0</null>
|
15 |
|
|
<type>float</type>
|
16 |
|
|
<value>$decimallatitude</value>
|
17 |
|
|
</_nullIf>
|
18 |
|
|
</latitude_deg>
|
19 |
|
|
<longitude_deg>
|
20 |
|
|
<_nullIf>
|
21 |
|
|
<null>0</null>
|
22 |
|
|
<type>float</type>
|
23 |
|
|
<value>$decimallongitude</value>
|
24 |
|
|
</_nullIf>
|
25 |
|
|
</longitude_deg>
|
26 |
|
|
</coordinates>
|
27 |
|
|
</coordinates_id>
|
28 |
|
|
<country>$country</country>
|
29 |
|
|
<matched_place_id>
|
30 |
|
|
<place>
|
31 |
|
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
32 |
|
|
<coordinates_id>
|
33 |
|
|
<coordinates>
|
34 |
|
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
35 |
|
|
<latitude_deg>
|
36 |
|
|
<_nullIf>
|
37 |
|
|
<null>0</null>
|
38 |
|
|
<type>float</type>
|
39 |
|
|
<value>$decimallatitude</value>
|
40 |
|
|
</_nullIf>
|
41 |
|
|
</latitude_deg>
|
42 |
|
|
<longitude_deg>
|
43 |
|
|
<_nullIf>
|
44 |
|
|
<null>0</null>
|
45 |
|
|
<type>float</type>
|
46 |
|
|
<value>$decimallongitude</value>
|
47 |
|
|
</_nullIf>
|
48 |
|
|
</longitude_deg>
|
49 |
|
|
</coordinates>
|
50 |
|
|
</coordinates_id>
|
51 |
|
|
<matched_place_id>0</matched_place_id>
|
52 |
|
|
<country>$countrystd</country>
|
53 |
|
|
<stateprovince>$stateprovincestd</stateprovince>
|
54 |
|
|
<geovalid>
|
55 |
|
|
<_and>
|
56 |
|
|
<1>
|
57 |
|
|
<_map>
|
58 |
|
|
<-1></-1>
|
59 |
|
|
<0>false</0>
|
60 |
|
|
<1>false</1>
|
61 |
|
|
<2>false</2>
|
62 |
|
|
<3>true</3>
|
63 |
|
|
<value>$countryvalidity</value>
|
64 |
|
|
</_map>
|
65 |
|
|
</1>
|
66 |
|
|
<2>
|
67 |
|
|
<_map>
|
68 |
|
|
<-1></-1>
|
69 |
|
|
<0>false</0>
|
70 |
|
|
<1>false</1>
|
71 |
|
|
<2>false</2>
|
72 |
|
|
<3>true</3>
|
73 |
|
|
<value>$stateprovincevalidity</value>
|
74 |
|
|
</_map>
|
75 |
|
|
</2>
|
76 |
|
|
</_and>
|
77 |
|
|
</geovalid>
|
78 |
|
|
</place>
|
79 |
|
|
</matched_place_id>
|
80 |
|
|
<stateprovince>$stateprovince</stateprovince>
|
81 |
|
|
</place>
|
82 |
|
|
</place_id>
|
83 |
|
|
</locationplace>
|
84 |
|
|
</location>
|
85 |
|
|
</path>
|
86 |
|
|
</_simplifyPath>
|
87 |
|
|
</VegBIEN>
|
88 |
|
|
Inserted 6 new rows into database
|