<div class="post-text" itemprop="description">
<p>Graphhopper is a project for finding routes over a road network. It also provides functionality for weighting this routing like <code>fastest</code> or <code>shortest</code> path e.g. via the FastestWeighting class. Now, the question is: how can we extend <code>Graphhopper</code> to use the speed data we get from our traffic provider in realtime?</p>
<p>As I can see:</p>
<ol><li>We must create a function that gets traffic jam data from our database.<br></li><li>We must force use that modified function (Encoder?) somewhere in Graphhopper <code>route()</code> function.
Do I think right?</li></ol>
<p>Please show me how we can do this by example.</p>
</div>