[GraphHopper] Select Routing

Peter K peathal at yahoo.de
Thu Aug 1 09:16:15 UTC 2013


Hi Dario,

> Is it possible to select different routes (wich won't include highways
or other toll roads)?

For that you would have to modify CarFlagEncoder to your needs. But to
*dynamically* switch those roads on/off you will have to accept that you
cannot use contraction hierarchies. It can be done, there is a
workaround via multiple graphs or to reduce RAM usage you need a rather
big change to the preparation phase, which I can hopefully do before the
next release.

Regards,
Peter.



More information about the GraphHopper mailing list