我有PHP应用程序,它发送的地理编码的url请求:
http://nominatim.openstreetmap.org/reverse?</p><p>For more information, consult the <a href="http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy">usage policy</a> for the
使用Nominatim后端对地址进行地理编码会出现违反Nominatim的ToS的错误。我知道它需要一个用户代理,但我找到的所有东西都失败了。现在,在IPython控制台中输入所需代码后geo = geocode(data['addr'], provider = 'nominatim')ConfigurationError: Using Nominatim with default or sa