我正在使用geopy包获取位置地理代码,但总是运行到HTTP Error 400: Bad Request
以下是我的代码,在正式文件https://geopy.readthedocs.io/en/stable/之后:
from geopy.geocoders import ArcGIS
geolocator = ArcGIS(scheme="http")
loc_home = geolocator.geocode("175 5th Avenue NYC")
以下是错误:
geopy.exc.GeocoderQueryError: HTTP Error 400: Bad Request
请提前帮助和感谢
您需要使用
https
方案,我猜http
被ArcGIS阻止了相关问题 更多 >
编程相关推荐