Hey everyone, If you have exceeded your geocode quota, the php geocode example provided by Google results in an infinite loop (which exacerbates the whole over geocode quota dilemma)
Here's the code: http://code.google.com/apis/maps/articles/phpsqlgeocode.html There's a while loop and if error code status 620 is returned, it assumes it's being returned for sending requests too fast, rather than over quota. } else if (strcmp($status, "620") == 0) { // sent geocodes too fast $delay += 100000; } else { It needs something like: } else if (strcmp($status, "620") == 0) { // sent geocodes too fast $delay += 100000; // hmm, not a delay issue, must be over quota if ($delay > 1000000) { $geocode_pending = false; echo "Address " . $address . " failed to geocoded. "; echo "Received status " . $status . " } } else { Right? -- 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.
