You shouldn't get 403 for too many queries, you should get 620.

There are two geocoding limits.

One is (theoretically) a limit on how many requests you can make in 24 
hours, and if you exceed it you get blocked for 24 hours, and blocked 
permanently if you persist.

The other limit is on the number of requests you make per second. That 
limit varies depending on how busy the servers are at the time. Even if 
the rate was fixed, the delays you'd need to use are of a similar order 
to the variations in Internet transmission time, so if you issued the 
requests at close to the limit, the requests would sometimes arrive at 
the server in clusters that were above the limit.

What you can do is use a variable for your delay. Whenever you get a 
620, increase the delay and also leave the failed address in the queue.

Try Ctrl-F'ing for $delay in this Google article to see how Google 
suggest you write it in PHP:

http://code.google.com/apis/maps/articles/phpsqlgeocode.html

And here's how I write it in Javascript:

http://econym.org.uk/gmap/example_geomulti.htm

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to