Geocoding problem: always getting OVER_QUERY_LIMIT error

1,811 views
Skip to first unread message

Gary Little

unread,
Nov 29, 2011, 4:38:14 PM11/29/11
to Google Maps JavaScript API v3
When I request a geocoding operation from my server (using a PHP
script) I always get an OVER_QUERY_LIMIT error. Not sure why because I
certainly don't make very many such requests. Does anyone have any
idea of what's going on? I'm on one of those shared servers from a web
hoster, could it be that someone else's requests are affecting my
ability to make requests?

Gary

Andrew Leach

unread,
Nov 29, 2011, 4:44:49 PM11/29/11
to google-map...@googlegroups.com

Yes.

That's not much help though. The only advice is to change your host.
If enough people do that, they might take notice.

MymsMan

unread,
Nov 29, 2011, 5:30:16 PM11/29/11
to google-map...@googlegroups.com
How many requests are you attempting? does it fail on request 1?
You are allowed a max of 8/sec.
I needed to put in some time delays when I had a batch of requests.

Gary Little

unread,
Nov 29, 2011, 6:23:23 PM11/29/11
to Google Maps JavaScript API v3
Yes, it fails on the very first request. I'm using some code that
Google provided some time ago -- each time a request fails I delay an
additional 100000 microseconds (100 milliseconds) before making the
next request.

Gary Little

unread,
Nov 29, 2011, 6:24:35 PM11/29/11
to Google Maps JavaScript API v3
It turns out I have a dedicated IP address so I shouldn't be penalized
by others who share the server who are making requests.

Gary

On Nov 29, 1:44 pm, Andrew Leach <andrew.leac...@gmail.com> wrote:

Marcelo

unread,
Nov 29, 2011, 6:29:47 PM11/29/11
to Google Maps JavaScript API v3
On Nov 29, 4:24 pm, Gary Little <g...@luxcentral.com> wrote:
> It turns out I have a dedicated IP address so I shouldn't be penalized
> by others who share the server who are making requests.

Most likely, what they mean by "dedicated" IP address is a "fixed" IP
address that you share with all others on the same machine.
"Dedicated" means dedicated to that machine, not dedicated to you.
If you have a dedicated server, that's another thing.

--
Marcelo - http://maps.forum.nu
--

Chris Holland

unread,
Nov 30, 2011, 3:31:13 AM11/30/11
to google-map...@googlegroups.com
I get the same thing when I try and request several geocodes.
Where did you find the 8 per second limit, I have had to add a delay of 3 seconds after every 5 requests to get mine to work?

I have signed up to a billable project and added the key to my map but I still appear to be limited to so many requests a second but I have no idea at what rate I can send the requests or how to get around this (without signing up for the maps Premier).

Gary Little

unread,
Nov 30, 2011, 11:34:31 AM11/30/11
to Google Maps JavaScript API v3
Marcelo,

You're probably right. Now I'm wondering why I bothered to pay extra
for the fixed IP address since it may not be unique to me.

Gary

On Nov 29, 3:29 pm, Marcelo <marcelo...@hotmail.com> wrote:
> On Nov 29, 4:24 pm, Gary Little <g...@luxcentral.com> wrote:
>
> > It turns out I have a dedicated IP address so I shouldn't be penalized
> > by others who share the server who are making requests.
>
> Most likely, what they mean by "dedicated" IP address is a "fixed" IP
> address that you share with all others on the same machine.
> "Dedicated" means dedicated to that machine, not dedicated to you.
> If you have a dedicated server, that's another thing.
>
> --

> Marcelo -http://maps.forum.nu

geoco...@gmail.com

unread,
Nov 30, 2011, 11:47:38 AM11/30/11
to Google Maps JavaScript API v3

The rate limit is there for a reason. To prevent people from abusing
the system (their free quota of requests). You shouldn't be able to
get around it.

-- Larry

kShan

unread,
Dec 1, 2011, 11:55:16 AM12/1/11
to google-map...@googlegroups.com
Are you using client side geocoding or serverside? if clientside then the quota is against the clien't IP address and not against your server. not sure whether this addresses your question
Reply all
Reply to author
Forward
0 new messages