如何获得不符合通讯的低重量的公共汽车的路线,但是Heigh足以与高架桥碰撞?

发布于 2025-01-28 18:58:52 字数 567 浏览 1 评论 0原文

我正在使用7.2版中的路由API,并尝试通过以下请求来获取路由:

https://route.api.here.com/routing/7.2/calculateroute.json?waypoint0=52.32122157270602,4.567701386612513&waypoint1=52.939151549621045,17.300288086614863&mode=fastest;truck;tollroad:-3&app_id=MY_APP_ID&app_code=MY_APP_CODE&alternatives=2&height=3.2

但是我会得到响应noroutefound。 沿着这条路线行驶的车辆是公共汽车。这辆公共汽车的高度为3,2米。 为了避免与任何高架桥碰撞,我通过参数“卡车”,以便我可以使用参数“高度”并将其设置为3,2。该请求找不到任何可行的路线,因为它避免了严格重量的通行费。实际上,驾驶员不必为这条道路付费,因为车辆不那么沉重,因此请求应返回一些路线。

我还有其他可以指定的参数,以便找到与我的标准匹配的路线,或者您还有其他想法如何解决我的问题?

I am using routing api in version 7.2 and trying to get routes by following request:

https://route.api.here.com/routing/7.2/calculateroute.json?waypoint0=52.32122157270602,4.567701386612513&waypoint1=52.939151549621045,17.300288086614863&mode=fastest;truck;tollroad:-3&app_id=MY_APP_ID&app_code=MY_APP_CODE&alternatives=2&height=3.2

but I get response NoRouteFound.
The vehicle that is travelling by this route is a bus. The height of this bus is 3,2 meter.
To avoid collision with any viaducts I passed parameter "truck" so that I can use parameter "height" and set it to 3,2. The request doesn't find any viable routes because it avoids tollroads with strict weight. In practice the driver does not have to pay for this road because the vehicle is not that heavy so the request should return some routes.

Is there any more parameters that I can specify so that I find routes matching my criteria or do you have any other idea how to solve my problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寂寞陪衬 2025-02-04 18:58:52

如果驾驶员不必为这条道路付费,因为车辆不那么重,那么为什么您计算的原因避免了严格重量的通行费?

当您不应该为收费公路支付费用时,您可以使用收费公路无需付款即可开车。

但是路由器向您表明,限制的组合“避免严格收费” +“ high< = 3.32m”是不可能的。

顺便说一句,

请使用此路由器游乐场计算器 https://demo.routing.ext.ext.here.here/com/ - 您可以看到,对于给定的起源和目的地,您应以任何方式(至少在波兰国家 /地区)为运输模式“汽车”支付费用(至少在波兰国家 /地区)。

If the driver does not have to pay for this road because the vehicle is not that heavy then why you calculate avoids tollroads with strict weight?

When you shouldn't to pay for toll roads however you can use toll roads for a driving without payment.

But Router show you that the combination of restrictions "avoid strictly toll" + "high <= 3.2m" is impossible.

BTW

Please use this router playground calculator https://demo.routing.ext.here.com/ - there you can see that for given origin and destination any way you should to pay toll (at least in Poland country) for even transport mode "car" although weight is light.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文