google-maps - 地理编码 API 超出速率限制

标签 google-maps google-geocoding-api

我正在使用地理编码 API 来查询 10 万个用户的位置坐标。但是,由于速率限制,我每天无法触发超过 2500 个请求。为了我的学习目的,我需要不受限制的访问。这是我大学的一个项目。有人可以引导我走向正确的方向吗?

最佳答案

根据 Usage Limits服务条款部分,即使是 Google Geocoding API 的商业用户也不能无限制使用:

Users of the standard API [are allowed] 2,500 free requests per day, calculated as the sum of client-side and server-side queries. ... Premium Plan customers: [receive a] shared daily free quota of 100,000 requests per 24 hours; additional requests applied against the annual purchase of Maps APIs Credits. 50* server-side requests per second. ... These limits are enforced to prevent abuse and/or repurposing of the Google Maps Geocoding API, and may be changed in the future without notice. Additionally, we enforce a request rate limit to prevent abuse of the service. If you exceed the per-day limit or otherwise abuse the service, the Google Maps Geocoding API may stop working for you temporarily. If you continue to exceed this limit, your access to the Google Maps Geocoding API may be blocked.

您可能需要查看Geocoding Strategies来自 Google 的文档和/或重新考虑您的实现方法。地理编码是否需要是动态的,还是来自预先存在的数据集?您是否有义务使用 Google Maps Geocoding API,或者可以使用其他服务吗?

值得注意的是,大多数地理编码服务都会有类似的限制,如果没有,那么运行 100,000 个或更多的请求通常被认为是不好的做法,除非事先做出安排。您可能需要考虑使用其他地理编码器服务,或托管您自己的地理编码器(例如 TwoFishes )来绕过这些限制。

关于google-maps - 地理编码 API 超出速率限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10270363/

相关文章:

google-maps - 我可以在我的 Windows 10 (UWP) 应用上使用 Google map 吗

google-maps - 使用谷歌地图进行区域偏差

javascript - 使用 Google 地理定位 API、W3C 地理定位和 Google 反向地理编码获取用户邮政编码

google-maps-api-3 - 来自 Amazon EC2 的地理定位请求

google-maps - 谷歌地理编码 API 为网络标准化地址返回 ZERO_RESULTS

python - Google http ://maps. google.com/maps/geo 非英文字符查询

java - 将 com.google.android.maps.* 包从 Eclipse 导入到 Android Studio 时出错

javascript - 使用 javascript 获取我当前的地址

google-maps - 将折线转换为路线

google-maps - 如何通过谷歌地图 API 获取一个国家/地区的州列表?