[Graphhopper] shortest and fastest route

Peter K peathal at yahoo.de
Tue Mar 12 13:18:01 UTC 2013


Hi again,

if you use the fastRouting (contraction hierarchies) this cannot be
changed on demand and needs to be changed when importing the graph.

Set osmreader.chShortcuts=fastest or osmreader.chShortcuts=shortest in
the config.properties

Regards,
Peter.

> Hello again,
>
> i tried to change the behaviour of route calculation by using the
> "algoType" parameter with "shortest" and "fastest". The default value
> seems to be "fastest". In both cases the same distances are returnt.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130312/373a490d/attachment.html>


More information about the GraphHopper mailing list