On Aug 6, 4:53 am, Iman <[email protected]> wrote:
> I'm terribly sorry 'bout that.
>
> HTTP.
>
> The part that matters...
> Mappable = is the record in question allowed to be mapped?
> getCleanAddress() = takes the record and returns a HTML Encoded
> string.
>
> After geoTag() is called, I check the status, if it's good... I save
> update the record in the DB with the Lat/Lon values, and move on to
> the next address (repeat.) Until all my new records are geocoded.
I reckon the part that matters is what does the loop ("move on the
next address") -- if there is insufficient delay there you will end up
with a 620 error. We don't know the criteria of the rate limiter; but
you haven't giving any details of what you do there, either.
I think what your delay should do is wait say 500ms and retry a failed
address; if it comes back as 620 again then wait 1s; if it's still
giving 620 then wait another 2s before retrying. You could carry on
with this exponential sequence until you judge it's not worth
continuing and give up completely.
As Larry implies, if you are on a shared host and other sites on that
host are also doing this sort of geocoding, you will share the rate
limit as well.
Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---