我刚开始使用GeoPy。我需要将给定的位置转换为经度和纬度。但是,我收到GeocoderQuotaExceeded错误。我只是按照文档中给出的例子。任何帮助将不胜感激。GeoPy:GeocoderQuotaExceeded error
from geopy.geocoders import GoogleV3
geolocator = GoogleV3()
address, (latitude, longitude) = geolocator.geocode("175 5th Avenue NYC")
GeocoderQuotaExceeded: The given key has gone over the requests limit in the 24 hour period or has submitted too many requests in too short a period of time
这发生在第一个请求本身上。我没有提出任何其他请求。这是我第一次使用该应用程序。
这意味着您已用完Google的配额。你有没有设置你自己的Api密钥,并检查你没有超过你的津贴?我假设它使用[此服务隐藏](https://developers.google.com/maps/documentation/geocoding/#Limits)...注意:如果有其他人使用相同的公共IP使用服务(Universitty,同样的公司等),而且你没有使用API密钥,这可能会导致你获得2500以内的免费使用费。 – Basic
@Basic谢谢你的问题。你是否愿意将此添加为答案,以便我可以upvote? – Manoj
完成。感谢和高兴,我可以帮助 – Basic