一台OSRM服务器,用于两种运输方式?
这是否可以运行一个用于驾驶和步行模式的单个OSRM服务器? (甚至更多)
https://github.com/project-project-osrm/osrm/osrm-backend
文档具有一个示例,其中有两个OSRM后端之间的路由nginx
路由 - 一个驾驶,另一个用于步行。我们想避免这种情况,并且只为不同的运输方式运行一个后端。
谢谢
Is this possible to run one single OSRM server for both driving and walking modes? (perhaps even more)
https://github.com/Project-OSRM/osrm-backend
Documentation has an example with nginx
routing between two OSRM backends - one of driving, and another for walking. We'd like to avoid that and only run one backend for different modes of transportation.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数是我在OSRM项目上获得的答案的复制纸 -
简短答案是:否。
很少有开源路由引擎可以做到这一点,并且总是以运行时成本为代价(即完成请求需要更长的时间)。
但是有 pgrouting (灵活性,相对较慢)和 valhalla (灵活性和绩效之间的良好权衡)。
Mostly a copy-paste of an answer I got on OSRM project -
Short answer is: no.
Few open-source routing engines can do that and always at the expense of runtime costs (i.e. takes longer to finish a request).
But there is pgrouting (pinnacle of flexibility, relatively slow) and valhalla (good trade-off between flexibility & performance).