You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Here路由等时线API对特定坐标返回重复多边形的技术问询

关于HERE等时线API(Isoline API)的坐标问题及咨询

在部分坐标下,HERE等时线API(Isoline API)无论设置何种range[values]时间距离参数,都会返回完全相同的多边形。

以加拿大安大略省伯灵顿GO火车站的坐标(43.339900,-79.809388)为例:

请求示例

curl --location -g --request GET 'https://isoline.router.hereapi.com/v8/isolines?transportMode=pedestrian&range[type]=time&range[values]=50,600&destination=43.339900,-79.809388&apikey=XXXXXX'

返回结果

{  
  "arrival": {    
    "time": "2022-08-31T06:28:52+00:00",    
    "place": {      
      "type": "place",      
      "location": {"lat": 43.33981,"lng": -79.80958},      
      "originalLocation": { "lat": 43.3399,"lng": -79.8093881}    
    }  
  },  
  "isolines": [    
    {      
      "range": {"type": "time","value": 50},      
      "polygons": [{"outer": "BG86o1yC3mmn4E1C2GhI2C1KAhI1CArF4K1KgI1CiIqB2CgEA4G" }      
      ]    
    },    
    {      
      "range": {"type": "time","value": 600},      
      "polygons": [{"outer": "BG86o1yC3mmn4E1C2GhI2C1KAhI1CArF4K1KgI1CiIqB2CgEA4G"}      
      ]    
  ]}

仅将坐标微调数米至"lat": 43.3403845, "lng": -79.8089106,API即可返回正确的等时线。

现咨询以下问题:

  • 选择目标坐标是否有最佳实践?
  • 是否存在额外参数可提升结果稳定性?

此外,该问题属于Bug:若无法返回有效结果,API应抛出错误而非返回无效数据。

内容的提问来源于stack exchange,提问作者gdogaru

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.20 16:18:34