Android 版本中带有 Graphhopper 的不同车辆配置文件

Different vehicle profiles with Graphhopper in Android version

我读到使用多个车辆配置文件(汽车、脚、远足)的最简单过程是从下载 osm/pbf 文件 Geofabrik 并修改配置属性,以生成图表 关闭 CH 和您想要的车辆。 然后我可以加载生成的图形并使用适当的 车辆。

问题是我无法理解如何修改 配置属性 以及在哪里?

请帮忙

config.properties 文件位于存储库的根目录中 (see dev guide) or at the relative location if you install GraphHopper via the zip file (see user guide)

然后你需要将带有flag_encoders的行更改为:

graph.flag_encoders=car,foot,hike