Skip to content

Commit 7318823

Browse files
committed
Remove :dstk lookup (defunct).
1 parent 05faae3 commit 7318823

File tree

6 files changed

+0
-77
lines changed

6 files changed

+0
-77
lines changed

README_API_GUIDE.md

-14
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,6 @@ Global Street Address Lookups
7373
* **Terms of Service**: http://www.microsoft.com/maps/product/terms.html
7474
* **Limitations**: No country codes or state names. Must be used on "public-facing, non-password protected web sites," "in conjunction with Bing Maps or an application that integrates Bing Maps."
7575

76-
### Data Science Toolkit (`:dstk`)
77-
78-
Data Science Toolkit provides an API whose response format is like Google's but which can be set up as a privately hosted service.
79-
80-
* **API key**: none
81-
* **Quota**: No quota if you are self-hosting the service.
82-
* **Region**: world
83-
* **SSL support**: ?
84-
* **Languages**: en
85-
* **Documentation**: http://www.datasciencetoolkit.org/developerdocs
86-
* **Terms of Service**: http://www.datasciencetoolkit.org/developerdocs#googlestylegeocoder
87-
* **Limitations**: No reverse geocoding.
88-
* **Notes**: If you are hosting your own DSTK server you will need to configure the host name, eg: `Geocoder.configure(lookup: :dstk, dstk: {host: "localhost:4567"})`.
89-
9076
### ESRI (`:esri`)
9177

9278
* **API key**: optional (set `Geocoder.configure(esri: {api_key: ["client_id", "client_secret"]})`)

lib/geocoder/lookup.rb

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def all_services_with_http_requests
3232
def street_services
3333
@street_services ||= [
3434
:location_iq,
35-
:dstk,
3635
:esri,
3736
:google,
3837
:google_premier,

lib/geocoder/lookups/dstk.rb

-22
This file was deleted.

lib/geocoder/results/dstk.rb

-6
This file was deleted.

test/test_helper.rb

-8
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,6 @@ def fixture_prefix
196196
end
197197
end
198198

199-
require 'geocoder/lookups/dstk'
200-
class Dstk
201-
private
202-
def fixture_prefix
203-
"google"
204-
end
205-
end
206-
207199
require 'geocoder/lookups/location_iq'
208200
class LocationIq
209201
private

test/unit/lookups/dstk_test.rb

-26
This file was deleted.

0 commit comments

Comments
 (0)