Re: [nycbigapps] Free Geocoding

From: James M.
Sent on: Thursday, November 5, 2009 11:39 AM
Also, realize that Google, Yahoo do not like multiple simultaneous
requests or too many requests back to back from the same IP. If you
would like to mass convert thousands of records you'll have to
throttle your requests whenever you get an error, the pseudo code for
this looks like:

Gather some predetermined # of queued requests.
For each request:
  Make request.
  if request is "too many requests error" sleep for x seconds and try again
  if success record result, pull off queue

Since Google allows 15K requests per day, I would create an automated
task that makes 11 requests every minute, with a throttle of 2 seconds
when you get too many simultaneous requests:

11 * 60 * 24 = 15,840 per day

For Yahoo:

4  * 60 * 24 = 5,760 per day

I've got some example code posted here (PHP and the Zend Framework),
as a project I did for geocoding Etsy seller addresses:

http://github.com...­

I forget where I saw it, but I believe there are free geocode
databases out there.

- jake







On Thu, Nov 5, 2009 at 10:22 AM, Jesse Erlbaum <[address removed]> wrote:
> Yahoo Geocoding is limited to 5k requests per day.? Google is limited to 15k
> per day.? Geocoder.us is throttled to one request per 15 seconds (which is
> about 5.7k/day).
>
> DOB property database is about 1M records.? So, three months later.....
>
> Jesse
>
>
> On Thu, Nov 5, 2009 at 9:19 AM, Joubert Nel <[address removed]> wrote:
>>
>> There are actually a number of free geocoding routes one can take. All you
>> need is the street address. Here are two examples.
>>
>> Yahoo provides a geocoding API:
>> http://developer....­
>>
>> There's also http://geocoder.u...­
>>
>> Joubert.
>>
>
>
> --
> Jesse Erlbaum
> The Erlbaum Group, LLC
> 817 Broadway, 10th floor
> New York, NY 10003
>[masked] (office)
>[masked] (mobile)
>[masked] (fax)
> [address removed]
>
>
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Jesse Erlbaum ([address removed]) from NYC BigApps.
> To learn more about Jesse Erlbaum, visit his/her member profile
> To unsubscribe or to update your mailing list settings, click here
>
> Meetup Inc. PO Box 4668 #37895 New York, New York[masked] |
> [address removed]

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy