<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    When we created the GeoCoder plugin for Geomajas we faced that same
    problem. The google geocoder has a few drawbacks that makes it
    unsuitable.<br>
    In the end we used the Yahoo service together with the Geonames
    service, with pretty good results.<br>
    <br>
    Hope that helps.<br>
    <br>
    <br>
    On 02/04/2011 02:34 PM, JP Glutting wrote:
    <blockquote
      cite="mid:AANLkTinzVxR7vfgHz_YUyqvyivGPhDN0WVvb_e-RZrLb@mail.gmail.com"
      type="cite">Hello,
      <div><br>
      </div>
      <div>I have a large set of addresses (around 150k) that I need to
        geocode for a study (my Masters thesis on heat-related
        mortality). I am looking into different solutions, but I can't
        find anything that seems like it would work properly.</div>
      <div><br>
      </div>
      <div>I could script a solution using Google's map API, but there
        is a limit of 2,500 addreses per day (I can get around them with
        a little patience). </div>
      <div><br>
      </div>
      <div>Right now the best solution I am looking at geopy for
        geocoding addresses (<a moz-do-not-send="true"
          href="http://code.google.com/p/geopy/">http://code.google.com/p/geopy/</a>).
        It seems like a good system, I think I can use it to pull
        addresses out of my database and write back coordinates. There
        is one thing that I am not sure, about, though, is whether I am
        actually allowed to use the Google API without my use being
        liked to a specific web page. The terms of service and form for
        getting a Google API key require a URL linked to a Google
        account. In fact, it looks like the API can only be used through
        a web site:</div>
      <div><br>
      </div>
      <blockquote class="webkit-indent-blockquote" style="margin: 0pt
        0pt 0pt 40px; border: medium none; padding: 0px;">
        <div>"<span class="Apple-style-span" style="font-family:
            Helvetica,Arial,sans-serif; line-height: 17px;">5.2 <u>Account
              Key</u>. After supplying Google with your account
            information and the URL of your Maps API Implementation, and
            accepting the Terms, you will be issued an alphanumeric key
            assigned to you by Google that is uniquely associated with
            your Google Account and the URL of your Maps API
            Implementation. Your Maps API Implementation must import the
            Google Maps APIs using this key as described in the <a
              moz-do-not-send="true" id="ac:s"
              href="http://code.google.com/apis/maps/documentation/"
              title="Maps APIs Documentation" target="_top"
              style="color: rgb(0, 0, 204);">Maps APIs Documentation</a>,
            and Google will block requests with an invalid key or
            invalid URL. You may only obtain and use a key in accordance
            with these Terms and the <a moz-do-not-send="true" id="ac:s"
              href="http://code.google.com/apis/maps/documentation/"
              title="Maps APIs Documentation" target="_top"
              style="color: rgb(0, 0, 204);">Maps APIs Documentation</a>.</span>"</div>
      </blockquote>
      <br>
      <div>So it looks like I can't even get it to work without a URL. </div>
      <div><br>
      </div>
      <div>I can always write a script that loops through results
        extracted from the database, creates URLs and parses the XML
        results one at a time, but that seems like a fairly inelegant
        solution. </div>
      <div><br>
      </div>
      <div>Does anyone have any good ideas about how to geocode a few
        thousand addresses?</div>
      <div><br>
      </div>
      <div>Many thanks,</div>
      <div>JP</div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/discuss">http://lists.osgeo.org/mailman/listinfo/discuss</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Pieter De Graef

Community Manager
GeoSparc nv.
<a class="moz-txt-link-freetext" href="http://www.geosparc.com/">http://www.geosparc.com/</a>

Chairman of the Geomajas project
<a class="moz-txt-link-freetext" href="http://www.geomajas.org/">http://www.geomajas.org/</a>

</pre>
  </body>
</html>