Is it possible to change the GraphHopper instance of a server?


I would like to know if it is possible to change the GraphHopper of a server once the server is started. Kind of “on the fly”?

Thanks a lot!

You want two GraphHopper instances and switch between them (that is possible but not out of the box) or switch between vehicles (already possible)?

Thanks for your fast answer!

I would be interested by both solution. (I am learning how GraphHopper is working, so I am interested by everything ^^’)

And having jsut some tracks or idea would be enought

Switching vehicles is possible with the vehicle=car or vehicle=foot parameter. Switching the GraphHopper instance is really easy after you learn how a single instance does the routing e.g. here .

1 Like