1

Really new to graphhopper and an inexperienced java programmer so I need a little help extending graphhopper core. What I've done so far is install the graphhopper core from the link on the quickstart guide found here. I'm then able to follow the rest of the instructions and get a local instance up and running just fine and interact with it using R and the API instructions. I would like to add support for bike, foot, and transit routing. As per the answer found here, I first attempted to modify graph.flagEncoders=car to graph.flagEncoders=car,foot, bike in the "config-example.properties" file. And that's where things fail. When attempting to run the program in the command prompt, it then fails at this point. Any help and direction would be greatly appreciated.

Edit: 8/24/2018

Below is a screenshot of the command prompt when using graph.flagEncoders=car,foot, bike in the "config-example.properties" file. Note that I'm using the example osm data found on the quickstart guide.

enter image description here

maxo
  • 83
  • 2
  • 8
  • Did you try to remove the created caching-folder before retry? Or what exactly is your error? Also combining those with transit is currently not possible (but car,foot,bike should be): https://github.com/graphhopper/graphhopper/issues/1023 – Karussell Aug 19 '18 at 16:38
  • My apologies if this is obvious, but where would the cache folder be created? See the edit to the question. – maxo Aug 24 '18 at 19:10
  • If you have a `file.pbf` the cache folder is `file-gh` – Karussell Aug 27 '18 at 08:52

1 Answers1

0

As per Karussell's comment, in this instance all you have to do is delete the *.osm-gh cache folder that's created by Graphhopper.

maxo
  • 83
  • 2
  • 8