自托管 GraphHopper 方向 API

Self hosting GraphHopper Directions API

我们正在寻找离线路由和反向地理编码服务。

GraphHopper 宣传其 Directions API can be self-hosted:

GraphHopper Directions API Self-Hosting / On-Premises

The Directions API comes as a cloud service where you pay on-demand. The API is also available as on-premises solution (self-hosted), which gives you maximum performance, customization possibilities, independence; all in your hands!

按照 these instructions 在本地实例上安装 GraphHopper 后,我能够通过本地主机 HTTP API.

成功执行路由查询

如何进行反向地理编码? 我找不到任何相关文档,GitHub 上的代码似乎没有任何暗示。

GraphHopper 是一种路由服务,而不是地理编码器。

根据 this issue,Geocoder 与 GraphHopper 是分开的,并且仅在业务方向 API 中可用。

如果您正在寻找基于 OSM 的免费地理编码服务,请查看 OSM wiki 中的 search engines

GraphHopper Directions API 是与开源 GraphHopper 路由引擎不同的产品。 GraphHopper 方向 API 目前包括

  • 路由API(基于GraphHopper路由引擎),
  • 矩阵API、
  • 地理编码 API 和
  • 路由优化API。

目前它们不再可用于自托管。注:我是作者之一。

我认为当前版本没有地理编码。似乎只有路线 api 可用。