geokit 1.7.1 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +6 -14
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +11 -0
  4. data/Gemfile +2 -1
  5. data/MIT-LICENSE +20 -0
  6. data/README.markdown +44 -39
  7. data/Rakefile +15 -0
  8. data/fixtures/vcr_cassettes/bing_full.yml +102 -0
  9. data/fixtures/vcr_cassettes/bing_full_au.yml +91 -0
  10. data/fixtures/vcr_cassettes/bing_full_de.yml +91 -0
  11. data/fixtures/vcr_cassettes/fcc_reverse_geocode.yml +37 -0
  12. data/fixtures/vcr_cassettes/free_geo_ip_geocode.yml +36 -0
  13. data/fixtures/vcr_cassettes/geo_plugin_geocode.yml +38 -0
  14. data/fixtures/vcr_cassettes/geonames_geocode.yml +304 -0
  15. data/fixtures/vcr_cassettes/{google3_city.yml → google_city.yml} +0 -0
  16. data/fixtures/vcr_cassettes/{google3_country_code_biased_result.yml → google_country_code_biased_result.yml} +0 -0
  17. data/fixtures/vcr_cassettes/{google3_full.yml → google_full.yml} +0 -0
  18. data/fixtures/vcr_cassettes/{google3_full_short.yml → google_full_short.yml} +0 -0
  19. data/fixtures/vcr_cassettes/{google3_language_response_fr.yml → google_language_response_fr.yml} +0 -0
  20. data/fixtures/vcr_cassettes/{google3_multi.yml → google_multi.yml} +0 -0
  21. data/fixtures/vcr_cassettes/{google3_reverse_madrid.yml → google_reverse_madrid.yml} +0 -0
  22. data/fixtures/vcr_cassettes/ripe_geocode.yml +66 -0
  23. data/fixtures/vcr_cassettes/ripe_geocode_au.yml +66 -0
  24. data/geokit.gemspec +1 -1
  25. data/lib/geokit.rb +5 -0
  26. data/lib/geokit/bounds.rb +96 -0
  27. data/lib/geokit/core_ext.rb +17 -0
  28. data/lib/geokit/geo_loc.rb +134 -0
  29. data/lib/geokit/geocoders.rb +48 -35
  30. data/lib/geokit/geocoders/base_ip.rb +43 -0
  31. data/lib/geokit/geocoders/bing.rb +101 -0
  32. data/lib/geokit/geocoders/ca_geocoder.rb +50 -0
  33. data/lib/geokit/{services → geocoders}/fcc.rb +17 -20
  34. data/lib/geokit/geocoders/free_geo_ip.rb +34 -0
  35. data/lib/geokit/geocoders/geo_plugin.rb +33 -0
  36. data/lib/geokit/geocoders/geonames.rb +53 -0
  37. data/lib/geokit/{services/google3.rb → geocoders/google.rb} +59 -57
  38. data/lib/geokit/geocoders/ip.rb +69 -0
  39. data/lib/geokit/geocoders/mapquest.rb +72 -0
  40. data/lib/geokit/geocoders/maxmind.rb +29 -0
  41. data/lib/geokit/geocoders/openstreetmap.rb +119 -0
  42. data/lib/geokit/geocoders/ripe.rb +41 -0
  43. data/lib/geokit/{services → geocoders}/us_geocoder.rb +15 -20
  44. data/lib/geokit/{services → geocoders}/yahoo.rb +52 -55
  45. data/lib/geokit/geocoders/yandex.rb +61 -0
  46. data/lib/geokit/inflectors.rb +1 -2
  47. data/lib/geokit/lat_lng.rb +129 -0
  48. data/lib/geokit/mappable.rb +41 -424
  49. data/lib/geokit/multi_geocoder.rb +6 -2
  50. data/lib/geokit/polygon.rb +46 -0
  51. data/lib/geokit/version.rb +1 -1
  52. data/test/helper.rb +2 -12
  53. data/test/test_base_geocoder.rb +0 -10
  54. data/test/test_bing_geocoder.rb +60 -0
  55. data/test/test_fcc_geocoder.rb +23 -0
  56. data/test/test_free_geo_ip_geocoder.rb +23 -0
  57. data/test/test_geo_plugin_geocoder.rb +23 -0
  58. data/test/test_geonames_geocoder.rb +23 -0
  59. data/test/test_google_geocoder.rb +208 -235
  60. data/test/test_maxmind_geocoder.rb +35 -4
  61. data/test/test_multi_geocoder.rb +3 -1
  62. data/test/test_ripe_geocoder.rb +35 -0
  63. data/test/test_yahoo_geocoder.rb +0 -12
  64. metadata +78 -52
  65. data/LICENSE +0 -25
  66. data/Manifest.txt +0 -21
  67. data/data/GeoLiteCity.dat +0 -0
  68. data/lib/geokit/services/ca_geocoder.rb +0 -55
  69. data/lib/geokit/services/geo_plugin.rb +0 -31
  70. data/lib/geokit/services/geonames.rb +0 -53
  71. data/lib/geokit/services/google.rb +0 -158
  72. data/lib/geokit/services/ip.rb +0 -103
  73. data/lib/geokit/services/maxmind.rb +0 -39
  74. data/lib/geokit/services/openstreetmap.rb +0 -119
  75. data/lib/geokit/services/ripe.rb +0 -32
  76. data/lib/geokit/services/yandex.rb +0 -51
  77. data/test/test_google_geocoder3.rb +0 -238
  78. data/test/test_google_reverse_geocoder.rb +0 -49
@@ -0,0 +1,91 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://dev.virtualearth.net/REST/v1/Locations/Platz%20der%20Republik%201,%2011011%20Berlin,%20Germany?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Cache-Control:
20
+ - no-cache
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Content-Type:
24
+ - application/xml; charset=utf-8
25
+ Server:
26
+ - Microsoft-IIS/8.0
27
+ X-Bm-Traceid:
28
+ - bae3195ab27846d899ef1bb63ddacdd9
29
+ X-Bm-Srv:
30
+ - SINM000009, SINMSNVM001117, SINMSNVM000134
31
+ X-Ms-Bm-Ws-Info:
32
+ - '0'
33
+ X-Aspnet-Version:
34
+ - 4.0.30319
35
+ X-Powered-By:
36
+ - ASP.NET
37
+ Date:
38
+ - Thu, 26 Dec 2013 09:52:37 GMT
39
+ body:
40
+ encoding: ASCII-8BIT
41
+ string: !binary |-
42
+ 77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48UmVz
43
+ cG9uc2UgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNj
44
+ aGV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vc3RhbENvZGU+MTA1NTc8L1Bvc3RhbENvZGU+PC9B
77
+ ZGRyZXNzPjxDb25maWRlbmNlPkhpZ2g8L0NvbmZpZGVuY2U+PE1hdGNoQ29k
78
+ ZT5Hb29kPC9NYXRjaENvZGU+PEdlb2NvZGVQb2ludD48TGF0aXR1ZGU+NTIu
79
+ NTE4NTk2PC9MYXRpdHVkZT48TG9uZ2l0dWRlPjEzLjM3NTUwMjwvTG9uZ2l0
80
+ dWRlPjxDYWxjdWxhdGlvbk1ldGhvZD5Sb29mdG9wPC9DYWxjdWxhdGlvbk1l
81
+ dGhvZD48VXNhZ2VUeXBlPkRpc3BsYXk8L1VzYWdlVHlwZT48L0dlb2NvZGVQ
82
+ b2ludD48R2VvY29kZVBvaW50PjxMYXRpdHVkZT41Mi41MTg1OTg8L0xhdGl0
83
+ dWRlPjxMb25naXR1ZGU+MTMuMzc0OTQ0MDAwMDAwMDAxPC9Mb25naXR1ZGU+
84
+ PENhbGN1bGF0aW9uTWV0aG9kPkludGVycG9sYXRpb248L0NhbGN1bGF0aW9u
85
+ TWV0aG9kPjxVc2FnZVR5cGU+RGlzcGxheTwvVXNhZ2VUeXBlPjxVc2FnZVR5
86
+ cGU+Um91dGU8L1VzYWdlVHlwZT48L0dlb2NvZGVQb2ludD48L0xvY2F0aW9u
87
+ PjwvUmVzb3VyY2VzPjwvUmVzb3VyY2VTZXQ+PC9SZXNvdXJjZVNldHM+PC9S
88
+ ZXNwb25zZT4=
89
+ http_version:
90
+ recorded_at: Thu, 26 Dec 2013 09:52:37 GMT
91
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,37 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.fcc.gov/api/block/find?format=json&latitude=34.05&longitude=-118.25
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Server:
20
+ - Sun-Java-System-Web-Server/7.0
21
+ Date:
22
+ - Fri, 13 Dec 2013 13:40:26 GMT
23
+ Content-Type:
24
+ - application/json
25
+ Via:
26
+ - 1.1 https-data
27
+ Proxy-Agent:
28
+ - Sun-Java-System-Web-Server/7.0
29
+ Transfer-Encoding:
30
+ - chunked
31
+ body:
32
+ encoding: US-ASCII
33
+ string: ! '{"Block":{"FIPS":"060372073012003"},"County":{"FIPS":"06037","name":"Los
34
+ Angeles"},"State":{"FIPS":"06","code":"CA","name":"California"},"status":"OK","executionTime":"11"}'
35
+ http_version:
36
+ recorded_at: Fri, 13 Dec 2013 13:46:20 GMT
37
+ recorded_with: VCR 2.7.0
@@ -0,0 +1,36 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://freegeoip.net/xml/74.125.237.209
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Access-Control-Allow-Origin:
20
+ - ! '*'
21
+ Content-Type:
22
+ - application/xml
23
+ Date:
24
+ - Fri, 13 Dec 2013 13:02:44 GMT
25
+ Content-Length:
26
+ - '398'
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <Ip>74.125.237.209</Ip>\n
30
+ <CountryCode>US</CountryCode>\n <CountryName>United States</CountryName>\n
31
+ <RegionCode>CA</RegionCode>\n <RegionName>California</RegionName>\n <City>Mountain
32
+ View</City>\n <ZipCode>94043</ZipCode>\n <Latitude>37.4192</Latitude>\n <Longitude>-122.0574</Longitude>\n
33
+ <MetroCode>807</MetroCode>\n <AreaCode>650</AreaCode>\n</Response>\n"
34
+ http_version:
35
+ recorded_at: Fri, 13 Dec 2013 13:03:38 GMT
36
+ recorded_with: VCR 2.7.0
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.geoplugin.net/xml.gp?ip=74.125.237.209
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Server:
20
+ - geoPlugin/3.2.6
21
+ Date:
22
+ - Fri, 13 Dec 2013 13:52:11 GMT
23
+ Content-Type:
24
+ - application/xml
25
+ Content-Length:
26
+ - '1164'
27
+ Connection:
28
+ - close
29
+ body:
30
+ encoding: US-ASCII
31
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<geoPlugin>\n\t<geoplugin_request>74.125.237.209</geoplugin_request>\n\t<geoplugin_status>200</geoplugin_status>\n\t<geoplugin_credit>Some
32
+ of the returned data includes GeoLite data created by MaxMind, available from
33
+ &lt;a href=\\'http://www.maxmind.com\\'&gt;http://www.maxmind.com&lt;/a&gt;.</geoplugin_credit>\n\t<geoplugin_city>Mountain
34
+ View</geoplugin_city>\n\t<geoplugin_region>CA</geoplugin_region>\n\t<geoplugin_areaCode>650</geoplugin_areaCode>\n\t<geoplugin_dmaCode>807</geoplugin_dmaCode>\n\t<geoplugin_countryCode>US</geoplugin_countryCode>\n\t<geoplugin_countryName>United
35
+ States</geoplugin_countryName>\n\t<geoplugin_continentCode>NA</geoplugin_continentCode>\n\t<geoplugin_latitude>37.419201</geoplugin_latitude>\n\t<geoplugin_longitude>-122.057404</geoplugin_longitude>\n\t<geoplugin_regionCode>CA</geoplugin_regionCode>\n\t<geoplugin_regionName>California</geoplugin_regionName>\n\t<geoplugin_currencyCode>USD</geoplugin_currencyCode>\n\t<geoplugin_currencySymbol>&amp;#36;</geoplugin_currencySymbol>\n\t<geoplugin_currencySymbol_UTF8>$</geoplugin_currencySymbol_UTF8>\n\t<geoplugin_currencyConverter>1</geoplugin_currencyConverter>\n</geoPlugin>\n"
36
+ http_version:
37
+ recorded_at: Fri, 13 Dec 2013 13:52:08 GMT
38
+ recorded_with: VCR 2.7.0
@@ -0,0 +1,304 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://ws.geonames.org/postalCodeSearch?maxRows=10&placename=Adelaide
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Date:
20
+ - Fri, 13 Dec 2013 13:34:30 GMT
21
+ Server:
22
+ - Apache/2.2.17 (Linux/SUSE)
23
+ Cache-Control:
24
+ - no-cache
25
+ Access-Control-Allow-Origin:
26
+ - ! '*'
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Content-Type:
30
+ - text/xml;charset=UTF-8
31
+ body:
32
+ encoding: US-ASCII
33
+ string: ! '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
34
+
35
+ <geonames>
36
+
37
+ <totalResultsCount>178</totalResultsCount>
38
+
39
+ <code>
40
+
41
+ <postalcode>5000</postalcode>
42
+
43
+ <name>Adelaide</name>
44
+
45
+ <countryCode>AU</countryCode>
46
+
47
+ <lat>-34.92686</lat>
48
+
49
+ <lng>138.59995</lng>
50
+
51
+ <adminCode1>SA</adminCode1>
52
+
53
+ <adminName1>South Australia</adminName1>
54
+
55
+ <adminCode2/>
56
+
57
+ <adminName2>SA CITY SUBS</adminName2>
58
+
59
+ <adminCode3/>
60
+
61
+ <adminName3/>
62
+
63
+ </code>
64
+
65
+ <code>
66
+
67
+ <postalcode>5001</postalcode>
68
+
69
+ <name>Adelaide</name>
70
+
71
+ <countryCode>AU</countryCode>
72
+
73
+ <lat>-34.93333</lat>
74
+
75
+ <lng>138.6</lng>
76
+
77
+ <adminCode1>SA</adminCode1>
78
+
79
+ <adminName1>South Australia</adminName1>
80
+
81
+ <adminCode2/>
82
+
83
+ <adminName2>SA CITY SUBS</adminName2>
84
+
85
+ <adminCode3/>
86
+
87
+ <adminName3/>
88
+
89
+ </code>
90
+
91
+ <code>
92
+
93
+ <postalcode>5006</postalcode>
94
+
95
+ <name>North Adelaide</name>
96
+
97
+ <countryCode>AU</countryCode>
98
+
99
+ <lat>-34.90844</lat>
100
+
101
+ <lng>138.59525</lng>
102
+
103
+ <adminCode1>SA</adminCode1>
104
+
105
+ <adminName1>South Australia</adminName1>
106
+
107
+ <adminCode2/>
108
+
109
+ <adminName2>SA CITY SUBS</adminName2>
110
+
111
+ <adminCode3/>
112
+
113
+ <adminName3/>
114
+
115
+ </code>
116
+
117
+ <code>
118
+
119
+ <postalcode>5760</postalcode>
120
+
121
+ <name>Adelaide</name>
122
+
123
+ <countryCode>ZA</countryCode>
124
+
125
+ <lat>-32.7</lat>
126
+
127
+ <lng>26.3</lng>
128
+
129
+ <adminCode1/>
130
+
131
+ <adminName1/>
132
+
133
+ <adminCode2/>
134
+
135
+ <adminName2/>
136
+
137
+ <adminCode3/>
138
+
139
+ <adminName3/>
140
+
141
+ </code>
142
+
143
+ <code>
144
+
145
+ <postalcode>0846</postalcode>
146
+
147
+ <name>Adelaide River</name>
148
+
149
+ <countryCode>AU</countryCode>
150
+
151
+ <lat>-13.25</lat>
152
+
153
+ <lng>131.1</lng>
154
+
155
+ <adminCode1>NT</adminCode1>
156
+
157
+ <adminName1>Northern Territory</adminName1>
158
+
159
+ <adminCode2/>
160
+
161
+ <adminName2>DARWIN</adminName2>
162
+
163
+ <adminCode3/>
164
+
165
+ <adminName3/>
166
+
167
+ </code>
168
+
169
+ <code>
170
+
171
+ <postalcode>4000</postalcode>
172
+
173
+ <name>Brisbane Adelaide Street</name>
174
+
175
+ <countryCode>AU</countryCode>
176
+
177
+ <lat>-27.46501</lat>
178
+
179
+ <lng>153.02339</lng>
180
+
181
+ <adminCode1>QLD</adminCode1>
182
+
183
+ <adminName1>Queensland</adminName1>
184
+
185
+ <adminCode2/>
186
+
187
+ <adminName2>BRIS CITY CNTRY</adminName2>
188
+
189
+ <adminCode3/>
190
+
191
+ <adminName3/>
192
+
193
+ </code>
194
+
195
+ <code>
196
+
197
+ <postalcode>4703</postalcode>
198
+
199
+ <name>Adelaide Park</name>
200
+
201
+ <countryCode>AU</countryCode>
202
+
203
+ <lat>-23.11468</lat>
204
+
205
+ <lng>150.69673</lng>
206
+
207
+ <adminCode1>QLD</adminCode1>
208
+
209
+ <adminName1>Queensland</adminName1>
210
+
211
+ <adminCode2/>
212
+
213
+ <adminName2>CENTRAL QLD</adminName2>
214
+
215
+ <adminCode3/>
216
+
217
+ <adminName3/>
218
+
219
+ </code>
220
+
221
+ <code>
222
+
223
+ <postalcode>5005</postalcode>
224
+
225
+ <name>Adelaide University</name>
226
+
227
+ <countryCode>AU</countryCode>
228
+
229
+ <lat>-34.91701</lat>
230
+
231
+ <lng>138.57708</lng>
232
+
233
+ <adminCode1>SA</adminCode1>
234
+
235
+ <adminName1>South Australia</adminName1>
236
+
237
+ <adminCode2/>
238
+
239
+ <adminName2>SA CITY SUBS</adminName2>
240
+
241
+ <adminCode3/>
242
+
243
+ <adminName3/>
244
+
245
+ </code>
246
+
247
+ <code>
248
+
249
+ <postalcode>5015</postalcode>
250
+
251
+ <name>Port Adelaide</name>
252
+
253
+ <countryCode>AU</countryCode>
254
+
255
+ <lat>-34.81551</lat>
256
+
257
+ <lng>138.52127</lng>
258
+
259
+ <adminCode1>SA</adminCode1>
260
+
261
+ <adminName1>South Australia</adminName1>
262
+
263
+ <adminCode2/>
264
+
265
+ <adminName2>SA CITY SUBS</adminName2>
266
+
267
+ <adminCode3/>
268
+
269
+ <adminName3/>
270
+
271
+ </code>
272
+
273
+ <code>
274
+
275
+ <postalcode>M5H</postalcode>
276
+
277
+ <name>Downtown Toronto (Richmond / Adelaide / King)</name>
278
+
279
+ <countryCode>CA</countryCode>
280
+
281
+ <lat>43.6496</lat>
282
+
283
+ <lng>-79.38334</lng>
284
+
285
+ <adminCode1>ON</adminCode1>
286
+
287
+ <adminName1>Ontario</adminName1>
288
+
289
+ <adminCode2/>
290
+
291
+ <adminName2/>
292
+
293
+ <adminCode3/>
294
+
295
+ <adminName3/>
296
+
297
+ </code>
298
+
299
+ </geonames>
300
+
301
+ '
302
+ http_version:
303
+ recorded_at: Fri, 13 Dec 2013 13:34:28 GMT
304
+ recorded_with: VCR 2.7.0