Comments on: ruby to find latitude/longitude for a list of cities /2014/01/ruby-find-latitudelongitude-list-cities/ Sarah Allen's reflections on internet software and other topics Fri, 21 Feb 2014 10:52:45 +0000 hourly 1 https://wordpress.org/?v=5.7.1 By: sarah /2014/01/ruby-find-latitudelongitude-list-cities/#comment-4874 Fri, 21 Feb 2014 10:52:45 +0000 /?p=4961#comment-4874 If you need something without restrictions, you can use this gem with datasciencetoolkit (:dstk) and run the above code.

]]>
By: sarah /2014/01/ruby-find-latitudelongitude-list-cities/#comment-4824 Mon, 20 Jan 2014 14:57:12 +0000 /?p=4961#comment-4824 Thanks for the note about API. True that I’m doing open source work so the free terms are not an issue; however, you prompted me to re-read the terms of service, I hadn’t remembered that the Google API data MUST be also used with a Google Map. Yet another caution for anyone using this methodology. Relevant sections below.

9.1.1

(a) Free Access (No Fees). Your Maps API Implementation must be generally accessible to users without charge and must not require a fee-based subscription or other fee-based restricted access. This rule applies to Your Content and any other content in your Maps API Implementation, whether Your Content or the other content is in existence now or is added later.

(b) Public Access (No Firewall). Your Maps API implementation must not operate (i) only behind a firewall; or (ii) only on an internal network (except during the development and testing phase); or (iii) in a closed community (for example, through invitation-only access).

10.1.1

(g) No Use of Content without a Google Map. You must not use or display the Content without a corresponding Google map, unless you are explicitly permitted to do so in the Maps APIs Documentation, or through written permission from Google. In any event, you must not use or display the Content on or in conjunction with a non-Google map. For example, you must not use geocodes obtained through the Service in conjunction with a non-Google map. As another example, you must not display Street View imagery alongside a non-Google map, but you may display Street View imagery without a corresponding Google map because the Maps APIs Documentation explicitly permits you to do so.

10.1.3

(b) No Pre-Fetching, Caching, or Storage of Content. You must not pre-fetch, cache, or store any Content, except that you may store: (i) limited amounts of Content for the purpose of improving the performance of your Maps API Implementation if you do so temporarily (and in no event for more than 30 calendar days), securely, and in a manner that does not permit use of the Content outside of the Service; and (ii) any content identifier or key that the Maps APIs Documentation specifically permits you to store. For example, you must not use the Content to create an independent database of “places” or other local listings information.

]]>
By: Dan /2014/01/ruby-find-latitudelongitude-list-cities/#comment-4823 Mon, 20 Jan 2014 14:16:15 +0000 /?p=4961#comment-4823 Another thing to be aware of with the Google API: to comply with their TOS, you can’t store geocodes locally (except to cache them for a bit) and the points must be displayed on a free, publicly accessible Google map.

Not a big deal for a small side project, but something to be aware of for any professional work.

(This info is based on my last reading of the maps API TOS a few years ago, so things may have changed.)

]]>