【问题标题】:Increase precision of flexible polyline in HERE Maps routing HTTP request提高 HERE Maps 路由 HTTP 请求中灵活折线的精度
【发布时间】:2022-10-06 21:14:31
【问题描述】:

我正在使用以下格式的 HERE 映射 HTTP 请求:

https://router.hereapi.com/v8/routes?origin=42.55009,-83.11662&destination=42.55277,-83.11675&transportMode=car&return=polyline&apikey=[api-key]

这将返回一个折线编码“BG00hlxCrkhx-E0oBzB82C3DgoBpC”。我可以使用Python API 解码坐标。但是,解码列表中的默认精度仅为小数点后 5 位(~米分辨率)。

柔性折线的文档提到了header-content 定义的可能更高的精度(~微米)。我希望返回的折线至少有 6-7 个小数位的分辨率。如何通过 HTTP 请求进行配置?

    标签: here-api


    【解决方案1】:

    过去,HERE 平台数据扩展的坐标有小数点后 5 位。

    因此默认为 5 位。它将是increased to 7 digits

    我为你创建了issue report on github

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-24
      • 2014-05-10
      • 1970-01-01
      • 2019-05-20
      • 2012-10-05
      相关资源
      最近更新 更多