Google Maps API v3,超过72小时前超出查询限制 [英] Google maps api v3, query limit exceeded more then 72 hours ago

查看:82
本文介绍了Google Maps API v3,超过72小时前超出查询限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道如何重置Google Maps API v3的查询限制.我知道三天前我已经超过了它,但是它没有重置,并且如果我发送了5个以上的请求,我仍然会达到目标.我如何完全还原它才能再次获得2500(或任何请求限制)?

I need to know how to reset the query limit for the Google Maps API v3. I know that I exceeded it more than three days ago, but it has not reset and I am still hitting it if I send more then 5 requests. How do I restore it completely to be able to get that 2500 (or whatever the request limit is) again?

我需要对一些地址进行地理编码,然后将它们(纬度,经度)放入数据库中.到目前为止,我已经完成了2500个地址.我需要再执行1000次,这将只是页面加载时的一个请求.

I need to geocode some addresses and put them (lat, lon) into a database. I have done so far 2500 addresses. I need to do another 1000 and then it will be just one request on page load.

推荐答案

根据 Google Geocoding API文档,实际上有两个限制.首先,每天有2,500个请求限制,您说您是几天前触发的.但是,还有一个单独的速率限制,这可能就是您在此处遇到的问题.

According to the Google Geocoding API documentation, there are actually two limits. First of all, there is the 2,500 request per day limit, which you say you triggered a few days ago. However, there is also a separate rate limit, which is probably what you are hitting here.

速率限制将阻止您在短时间内发出许多连续的地理编码请求,这似乎是您要执行的操作.无法解决此问题,因为在单个页面加载上发出1,000个请求不是Google Geocoding API的预期用途.

The rate limit will prevent you from making many successive geocoding requests in a short time, which it seems is what you're trying to do. There is no way around this, since making 1,000 requests on a single pageload is not the intended use of the Google Geocoding API.

根据Google的说法,另外:

Additional, according to Google:

注意:地理编码API只能与Google地图结合使用;禁止对结果进行地理编码而不在地图上显示结果.有关允许的用法的完整详细信息,请参阅 Maps API服务条款许可限制.

Note: the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.

这可能意味着您使用Google地理编码器并将结果存储在数据库中的总体计划违反了Google的服务条款.

This probably means that your overall plan to use the Google geocoder and store the results in a database is a violation of Google's terms of service.

这篇关于Google Maps API v3,超过72小时前超出查询限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆