> I am not using the sensor parameter because the instructions > athttp://code.google.com/apis/maps/articles/phpsqlgeocode.htmldon't say > anything about it.
The need for a key with HTTP geocoder is documented at http://code.google.com/apis/maps/documentation/geocoding/index.html#GeocodingRequests There wasn't a need for that when the PHP example was written, so it doesn't get mentioned there. Things change; it's only an example of how to proceed not a free turnkey application. Pamela may update the example if we mention her name ... The sensor= requirement has been published for some time but only recently enforced, you'd be far from the only one caught out by it. It may very well not be the root cause of your problem, but it will no longer work without it, so you've got to fix it. As your trouble has arisen in the same timeframe as key/sensor enforcement it seems too much of a coincidence? After your reply, I looked up the parameter and found > instructions for using at it > athttp://code.google.com/apis/maps/documentation/#SpecifyingSensor. Those > instructions say the parameter is specified while loading the Maps API > JavaScript. But my code (based on the sample code for PHP given at the > previous link) doesn't do any such loading. Could this be the problem? Is > the given PHP sample code in error by not including this loading operation? > > > Your code could be enhanced to do some error checking on result codes, > > My code does check the result code according to the method given in > the PHP sample code. If a 620 is returned, the delay used for all subsequent > calls is increased by 0.1 seconds. Otherwise, if the code is anything other > than 200, a warning is stored in my database and no coords are stored. The > bad result warning has never occurred. > > > even if all the technical requirements are met, your server may be > > blacklisted by Google for over- or mis-use of their service. > > I did read about that when signing up for the service. I have not > come anywhere near the 15,000 daily requests limit, don't think I've yet > done as many as 1,000 in a day. While the code is in development, there is > not currently any map online related to my requests. I understand this could > technically be considered misuse. If this is somehow being detected by > Google, is there a way for me to detect that and for me to do something > about it? Do I need to post some kind of dummy map on my site while the > geocoder code is in development to keep my use kosher? > > Thanks for your help. > > Marshall --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
