【问题标题】:Graphhopper - Override Weighting class and Integrate it in Ruby on RailsGraphhopper - 覆盖权重类并将其集成到 Ruby on Rails
【发布时间】:2019-02-15 03:17:46
【问题描述】:

我正在开发一个使用 GraphHopper 作为方向 API 的 Ruby on Rails 后端。我想重写 GraphHopper 的权重类以进行自定义权重,这在以下链接中进行了说明。

https://github.com/graphhopper/graphhopper/blob/master/docs/core/weighting.md

现在的问题是,如何在我的 Ruby on Rails 后端中集成该覆盖的代码。

【问题讨论】:

    标签: ruby-on-rails ruby backend graphhopper


    【解决方案1】:

    这在红宝石中是不可能的。在未来的版本中,我们将通过https://discuss.graphhopper.com/t/flexible-vehicle-profiles/3612 对其进行自定义

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-09-17
      • 1970-01-01
      • 1970-01-01
      • 2017-02-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-03
      相关资源
      最近更新 更多