自托管GraphHopper Directions API

问题描述 投票:4回答:2

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

GraphHopper宣传其Directions API can be self-hosted

GraphHopper Directions API自托管/内部部署

Directions API作为云服务提供,您可以按需付费。该API也可作为内部部署解决方案(自托管),为您提供最高性能,定制可能性,独立性;一切都掌握在你手中!

根据these instructions在我的本地实例上安装GraphHopper之后,我能够通过localhost HTTP API成功执行路由查询。

如何使反向地理编码工作?我找不到任何关于此的文档,GitHub上的代码似乎没有任何暗示。

openstreetmap graphhopper
2个回答
5
投票

GraphHopper Directions API与开源GraphHopper路由引擎不同。 GraphHopper Directions API目前包含

  • Routing API(基于GraphHopper路由引擎),
  • Matrix API,
  • 地理编码API和
  • Route Optimization API。

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


1
投票

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

根据this issue的说法,Geocoder与GraphHopper是分开的,只能在Directions API中用于业务。

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

© www.soinside.com 2019 - 2024. All rights reserved.