我正在尝试确定此openweathermap api错误的原因。我在文档中找不到任何参考资料。
此请求成功:
https://api.openweathermap.org/data/2.5/box/city?bbox=-96.8466%2C37.0905747%2C-92.5829684%2C41.7686%2C9&appid=<apikey>当此请求失败时
https://api.openweathermap.org/data/2.5/box/city?bbox=-96.5829684%2C26.5383355%2C-79.37923649999999%2C41.0905747%2C9&appid=<apikey>响应
{"cod":"400","message":"Requested area is larger than allowed for your account type (25.00 square degrees)"}我知道它与bbox范围有关,但我找不到任何文档。我目前正在测试免费订阅。
发布于 2019-05-24 21:13:09
这基本上意味着你获取的区域比免费订阅区域所允许的要大。25°²区域是指覆盖25度的4个纬度/lng位置之间的区域,例如:
An area ranging from 75 to 70 degrees North, and 0 to 5 degrees East (5x5° = 25°)
75°N,0°E ---- 75°N,5°E
70°N,0°E ---- 75°N,5°Ehttps://stackoverflow.com/questions/56293280
复制相似问题