[GraphHopper] How to consider traffic jam when route on road network?

lanmaster at hotmail.ru lanmaster at hotmail.ru
Mon Jan 6 08:54:47 UTC 2014


Graphhopper is a project for finding routes over a road network. It also provides functionality for weighting this routing like fastest or shortest path e.g. via the FastestWeighting class. Now, the question is: how can we extend Graphhopper to use the speed data we get from our traffic provider in realtime?

As I can see:

We must create a function that gets traffic jam data from our database.
We must force use that modified function (Encoder?) somewhere in Graphhopper route() function.
Do I think right?

Please show me how we can do this by example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140106/c5b1c9c2/attachment.html>


More information about the GraphHopper mailing list