geokit 1.8.4 → 1.8.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -6
- data/CHANGELOG.md +9 -0
- data/README.markdown +27 -3
- data/fixtures/vcr_cassettes/bing_au.yml +86 -0
- data/fixtures/vcr_cassettes/bing_full.yml +61 -68
- data/fixtures/vcr_cassettes/bing_full_au.yml +43 -39
- data/fixtures/vcr_cassettes/bing_full_de.yml +43 -39
- data/fixtures/vcr_cassettes/fcc_reverse_geocode.yml +9 -7
- data/fixtures/vcr_cassettes/geocodio_geocode.yml +43 -0
- data/fixtures/vcr_cassettes/google_city.yml +8 -6
- data/fixtures/vcr_cassettes/google_country_code_biased_result.yml +27 -25
- data/fixtures/vcr_cassettes/google_full.yml +13 -16
- data/fixtures/vcr_cassettes/google_full_short.yml +8 -6
- data/fixtures/vcr_cassettes/google_language_response_fr.yml +23 -21
- data/fixtures/vcr_cassettes/google_multi.yml +7 -5
- data/fixtures/vcr_cassettes/google_reverse_madrid.yml +281 -278
- data/fixtures/vcr_cassettes/google_reverse_madrid_es.yml +26 -32
- data/fixtures/vcr_cassettes/map_quest_full.yml +53 -0
- data/fixtures/vcr_cassettes/map_quest_reverse_madrid.yml +52 -0
- data/fixtures/vcr_cassettes/ripe_geocode_45.yml +45 -0
- data/fixtures/vcr_cassettes/yahoo_city.yml +1 -1
- data/fixtures/vcr_cassettes/yahoo_full.yml +1 -1
- data/fixtures/vcr_cassettes/yahoo_no_results.yml +1 -1
- data/lib/geokit/geocoders.rb +16 -1
- data/lib/geokit/geocoders/bing.rb +22 -18
- data/lib/geokit/geocoders/fcc.rb +2 -1
- data/lib/geokit/geocoders/geocodio.rb +59 -0
- data/lib/geokit/geocoders/google.rb +7 -3
- data/lib/geokit/geocoders/mapquest.rb +3 -2
- data/lib/geokit/geocoders/ripe.rb +8 -5
- data/lib/geokit/geocoders/yahoo.rb +2 -1
- data/lib/geokit/lat_lng.rb +13 -3
- data/lib/geokit/mappable.rb +13 -0
- data/lib/geokit/multi_geocoder.rb +13 -2
- data/lib/geokit/net_adapter/net_http.rb +6 -1
- data/lib/geokit/version.rb +1 -1
- data/test/helper.rb +2 -1
- data/test/test_bing_geocoder.rb +23 -3
- data/test/test_fcc_geocoder.rb +1 -1
- data/test/test_geocodio_geocoder.rb +33 -0
- data/test/test_google_geocoder.rb +31 -17
- data/test/test_latlng.rb +18 -0
- data/test/test_map_quest.rb +56 -0
- data/test/test_multi_geocoder.rb +7 -0
- data/test/test_ripe_geocoder.rb +19 -12
- data/test/test_yahoo_geocoder.rb +7 -7
- metadata +12 -8
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 1.8.5
|
2
|
+
|
3
|
+
* HTTPS on Google, Bing, Yahoo and MapQuest
|
4
|
+
* Added Geocod.io Geocoder
|
5
|
+
* Can use Google Key on free geocoder
|
6
|
+
* Fix bug in RIPE geocoder where no locations returned
|
7
|
+
* provider_order option for MultiGeocoder
|
8
|
+
* dms return methods (degree, minute, second)
|
9
|
+
|
1
10
|
## 1.8.4
|
2
11
|
|
3
12
|
* Fix math error in ruby 1.8
|
data/README.markdown
CHANGED
@@ -44,9 +44,10 @@ Combine this gem with the [geokit-rails](http://github.com/geokit/geokit-rails)
|
|
44
44
|
* Bing
|
45
45
|
* Yandex
|
46
46
|
* MapQuest
|
47
|
+
* Geocod.io
|
47
48
|
|
48
49
|
### address geocoders that also provide reverse geocoding
|
49
|
-
* Google -
|
50
|
+
* Google - Supports multiple results and bounding box/country code biasing. Also supports Maps API for Business keys; see the configuration section below.
|
50
51
|
* FCC
|
51
52
|
* Open Street Map
|
52
53
|
|
@@ -57,6 +58,15 @@ Combine this gem with the [geokit-rails](http://github.com/geokit/geokit-rails)
|
|
57
58
|
* MaxMind
|
58
59
|
* freegeoip.net
|
59
60
|
|
61
|
+
### HTTPS-supporting geocoders
|
62
|
+
* Google
|
63
|
+
* Yahoo
|
64
|
+
* Bing
|
65
|
+
* FCC
|
66
|
+
* MapQuest
|
67
|
+
|
68
|
+
Options to control the use of HTTPS are described below in the Configuration section.
|
69
|
+
|
60
70
|
## QUICK START
|
61
71
|
|
62
72
|
```ruby
|
@@ -117,6 +127,10 @@ If you're using this gem by itself, here are the configuration options:
|
|
117
127
|
Geokit::Geocoders::GoogleGeocoder.cryptographic_key = ''
|
118
128
|
Geokit::Geocoders::GoogleGeocoder.channel = ''
|
119
129
|
|
130
|
+
# You can also use the free API key instead of signed requests
|
131
|
+
# See https://developers.google.com/maps/documentation/geocoding/#api_key
|
132
|
+
Geokit::Geocoders::GoogleGeocoder.api_key = ''
|
133
|
+
|
120
134
|
# You can also set multiple API KEYS for different domains that may be directed to this same application.
|
121
135
|
# The domain from which the current user is being directed will automatically be updated for Geokit via
|
122
136
|
# the GeocoderControl class, which gets it's begin filter mixed into the ActionController.
|
@@ -159,6 +173,16 @@ If you're using this gem by itself, here are the configuration options:
|
|
159
173
|
# The IP provider order. Valid symbols are :ip,:geo_plugin.
|
160
174
|
# As before, make sure you read up on relevant Terms of Use for each.
|
161
175
|
# Geokit::Geocoders::ip_provider_order = [:external,:geo_plugin,:ip]
|
176
|
+
|
177
|
+
# Disable HTTPS globally. This option can also be set on individual
|
178
|
+
# geocoder classes.
|
179
|
+
Geokit::Geocoders::secure = false
|
180
|
+
|
181
|
+
# Control verification of the server certificate for geocoders using HTTPS
|
182
|
+
Geokit::Geocoders::ssl_verify_mode = OpenSSL::SSL::VERIFY_(PEER/NONE)
|
183
|
+
# Setting this to VERIFY_NONE may be needed on systems that don't have
|
184
|
+
# a complete or up to date root certificate store. Only applies to
|
185
|
+
# the Net::HTTP adapter.
|
162
186
|
```
|
163
187
|
|
164
188
|
### Google Geocoder Tricks
|
@@ -187,7 +211,7 @@ Not exactly what we were looking for. We know that Syracuse is in Italy, so we c
|
|
187
211
|
=> "Syracuse, Italy"
|
188
212
|
```
|
189
213
|
|
190
|
-
Alternatively, we can
|
214
|
+
Alternatively, we can specify the geocoding bias as a bounding box object. Say we wanted to geocode the Winnetka district in Los Angeles.
|
191
215
|
|
192
216
|
```ruby
|
193
217
|
irb> res = Geokit::Geocoders::GoogleGeocoder.geocode('Winnetka')
|
@@ -258,7 +282,7 @@ do_geocode.
|
|
258
282
|
## WRITING YOUR OWN GEOCODERS
|
259
283
|
|
260
284
|
If you would like to write your own geocoders, you can do so by requiring 'geokit' or 'geokit/geocoders.rb' in a new file and subclassing the base class (which is class "Geocoder").
|
261
|
-
You must then also require such
|
285
|
+
You must then also require such external file back in your main geokit configuration.
|
262
286
|
|
263
287
|
```ruby
|
264
288
|
require "geokit"
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://dev.virtualearth.net/REST/v1/Locations/Australia?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Content-Type:
|
26
|
+
- application/xml; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
Server:
|
30
|
+
- Microsoft-IIS/8.0
|
31
|
+
X-Bm-Traceid:
|
32
|
+
- c94bd5877eb348d28caf0cab56de8c48
|
33
|
+
X-Bm-Srv:
|
34
|
+
- BN20121762, BN2SCH020131230
|
35
|
+
X-Ms-Bm-Ws-Info:
|
36
|
+
- '0'
|
37
|
+
X-Aspnet-Version:
|
38
|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PENvdW50cnlSZWdpb24+QXVzdHJhbGlhPC9Db3VudHJ5UmVn
|
75
|
+
aW9uPjxGb3JtYXR0ZWRBZGRyZXNzPkF1c3RyYWxpYTwvRm9ybWF0dGVkQWRk
|
76
|
+
cmVzcz48L0FkZHJlc3M+PENvbmZpZGVuY2U+SGlnaDwvQ29uZmlkZW5jZT48
|
77
|
+
TWF0Y2hDb2RlPkdvb2Q8L01hdGNoQ29kZT48R2VvY29kZVBvaW50PjxMYXRp
|
78
|
+
dHVkZT4tMjUuNTg1MjQxMzE3NzQ5MDIzPC9MYXRpdHVkZT48TG9uZ2l0dWRl
|
79
|
+
PjEzNC41MDQxMTk4NzMwNDY4ODwvTG9uZ2l0dWRlPjxDYWxjdWxhdGlvbk1l
|
80
|
+
dGhvZD5Sb29mdG9wPC9DYWxjdWxhdGlvbk1ldGhvZD48VXNhZ2VUeXBlPkRp
|
81
|
+
c3BsYXk8L1VzYWdlVHlwZT48L0dlb2NvZGVQb2ludD48L0xvY2F0aW9uPjwv
|
82
|
+
UmVzb3VyY2VzPjwvUmVzb3VyY2VTZXQ+PC9SZXNvdXJjZVNldHM+PC9SZXNw
|
83
|
+
b25zZT4=
|
84
|
+
http_version:
|
85
|
+
recorded_at: Thu, 29 May 2014 13:58:44 GMT
|
86
|
+
recorded_with: VCR 2.8.0
|
@@ -2,51 +2,44 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://dev.virtualearth.net/REST/v1/Locations/100%20Spear%20St,%20San%20Francisco,%20CA,%2094105-1522,%20US?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- '*/*'
|
12
14
|
User-Agent:
|
13
15
|
- Ruby
|
14
16
|
response:
|
15
17
|
status:
|
16
18
|
code: 200
|
17
|
-
message:
|
18
|
-
T0s=
|
19
|
+
message: OK
|
19
20
|
headers:
|
20
|
-
|
21
|
-
-
|
22
|
-
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
|
27
|
-
-
|
28
|
-
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
- !binary |-
|
43
|
-
NC4wLjMwMzE5
|
44
|
-
!binary "WC1Qb3dlcmVkLUJ5":
|
45
|
-
- !binary |-
|
46
|
-
QVNQLk5FVA==
|
47
|
-
!binary "RGF0ZQ==":
|
48
|
-
- !binary |-
|
49
|
-
U2F0LCAxNCBEZWMgMjAxMyAwNTo0MDo1MyBHTVQ=
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Content-Type:
|
26
|
+
- application/xml; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
Server:
|
30
|
+
- Microsoft-IIS/8.0
|
31
|
+
X-Bm-Traceid:
|
32
|
+
- 9ab7e47e5657431aa8344781ca6a66bb
|
33
|
+
X-Bm-Srv:
|
34
|
+
- CO30276338, CO3SCH010265307, CO3SCH010265205
|
35
|
+
X-Ms-Bm-Ws-Info:
|
36
|
+
- '0'
|
37
|
+
X-Aspnet-Version:
|
38
|
+
- 4.0.30319
|
39
|
+
X-Powered-By:
|
40
|
+
- ASP.NET
|
41
|
+
Date:
|
42
|
+
- Sun, 26 Jan 2014 05:51:02 GMT
|
50
43
|
body:
|
51
44
|
encoding: ASCII-8BIT
|
52
45
|
string: !binary |-
|
@@ -55,7 +48,7 @@ http_interactions:
|
|
55
48
|
aGV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jZXM+PC9SZXNv
|
92
|
+
dXJjZVNldD48L1Jlc291cmNlU2V0cz48L1Jlc3BvbnNlPg==
|
100
93
|
http_version:
|
101
|
-
recorded_at:
|
94
|
+
recorded_at: Sun, 26 Jan 2014 05:51:03 GMT
|
102
95
|
recorded_with: VCR 2.8.0
|
@@ -2,13 +2,15 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://dev.virtualearth.net/REST/v1/Locations/440%20King%20William%20Street,%20Adelaide,%20Australia?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- '*/*'
|
12
14
|
User-Agent:
|
13
15
|
- Ruby
|
14
16
|
response:
|
@@ -22,12 +24,14 @@ http_interactions:
|
|
22
24
|
- chunked
|
23
25
|
Content-Type:
|
24
26
|
- application/xml; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
25
29
|
Server:
|
26
30
|
- Microsoft-IIS/8.0
|
27
31
|
X-Bm-Traceid:
|
28
|
-
-
|
32
|
+
- f80025caa8d14f9299362cdf94736e5a
|
29
33
|
X-Bm-Srv:
|
30
|
-
-
|
34
|
+
- CO30276241, CO3SCH010265513, CO3SCH010265413
|
31
35
|
X-Ms-Bm-Ws-Info:
|
32
36
|
- '0'
|
33
37
|
X-Aspnet-Version:
|
@@ -35,7 +39,7 @@ http_interactions:
|
|
35
39
|
X-Powered-By:
|
36
40
|
- ASP.NET
|
37
41
|
Date:
|
38
|
-
-
|
42
|
+
- Sun, 26 Jan 2014 05:51:03 GMT
|
39
43
|
body:
|
40
44
|
encoding: ASCII-8BIT
|
41
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