Here-api TransitRadius for Middle Waypoints

问题描述 投票:0回答:1

我正在使用以下请求来计算行驶路线。指定通过半径的正确语法是什么?由于某些原因,intermediate航路点(waypoint1)的运输半径不适用,而对于最终航路点则正常工作。

https://route.api.here.com/routing/7.2/calculateroute.json?app_id={appId&app_code={appCode}&waypoint0=geo!50.035035,19.925015;1500&waypoint1=geo!50.06684315082262,19.923276861182046;1500&waypoint2=geo!50.07842990411413,20.032238457351923;1500&mode=fastest;car;traffic:enabled&arrival=2020-05-29T17:27:42.000Z&routeAttributes=shape

我已经进行了有无请求传输半径的实验比较。它似乎仅适用于起点和终点。enter image description here

here-api path-finding
1个回答
0
投票

我使用路由v7发送了相同的请求,并通过APIKEY进行了身份验证,但没有收到环路,但是该路线离开了高速公路,进入了公园大门,然后又回到了高速公路上。我无法重新创建您得到的循环。

已使用电话

https://route.ls.hereapi.com/routing/7.2/calculateroute.json?xnlp=CL_JSMv3.1.16.1&apikey=&waypoint0=50.035035%2C19.925015%3B1500&waypoint1=50.06684315082262%2C19.923276861182046&waypoint2=50.07842990411413%2C20.032238457351923%3B1500&mode=fastest%3Bcar%3Btraffic%3Aenabled&arrival=2020-05-29T17%3A27%3A42.000Z&routeAttributes=shape&representation=display
enter image description here
© www.soinside.com 2019 - 2024. All rights reserved.