Jspirit 时间单位设置和速度 km/hr

Jspirit timeunit set and speed in km/hr

我正在使用 Jsprit。我正在使用内置的 greatcriclecost 计算以公里为单位的距离。我想确保计算的时间单位应保留在小时内。此外,我设置的大圆成本中的速度是 50Km/hr。它应该相应地表现。

在 jsprit 成为 graphhopper 之后。大部分文档是从互联网上提取的。这对开源社区来说是非常令人沮丧的。 Stefan Schröder 完成的大部分工作变得更难使用。感谢 Stefan Schröder 在这方面的回复。

免责声明:我不是 Stefan。这些项目已合并(这很有意义),但 Stefan 仍在领导车辆路由分支。

我不确定您指的是什么文档,但我不知道有任何文档已被删除。旧邮件列表处于静态状态:https://groups.google.com/forum/#!forum/jsprit-mailing-list while new topics are actively answered in the new mailing list: https://discuss.graphhopper.com/c/jsprit . The Wiki appears to have kept the examples: https://github.com/graphhopper/jsprit/wiki,您可以展开右侧的列表以查看 80 多个主题(我同意这部分有点难找)。

"Moreover, speed in the great circlecost i set is 50Km/hr. It should behave accordingly." 是什么让您认为它没有相应的行为;有没有出现问题的具体例子? JSprit 与单元无关,但始终与您使用的任何单元保持一致。如果您能说得更具体一些,我或许可以提供帮助。

至于"disheartening";某些(新)功能被锁定在订阅之后可能是一种耻辱。但是,合并前的原始代码库仍然是开源的,并以与以前相同的方式添加。近期新增一个工作优先功能https://github.com/graphhopper/jsprit/issues/242 , for example, after Jsprit and graphhopper merged. It is an outsourced project in a lot of ways, but I really prefer that the person clearly steering the ship with features有机会获利了结,依旧保持新开功能