How do you embed the GraphHopper engine (as opposed to the API) in a Java application?

I’m trying to build an application that uses a custom weighting for routing based on elevation data. I want to do what is described here - https://github.com/graphhopper/graphhopper/blob/0.9/docs/core/weighting.md

However I’m having trouble understanding how to embed the GraphHopper engine into my java project - using Maven for builds. I’ve followed the instructions here - https://github.com/graphhopper/graphhopper#maven - but I don’t know if this just allows use of the Directions API or is part of what I need to embed the routing engine.

Have I done part of what is needed to integrate the engine into my app? Do I also need to include files from the repo within my project structure?

Thank you so much in advance :slight_smile:

Have you seen this link?

1 Like