[GraphHopper] Changing the weighting in the config file

Peter graphhopper at gmx.de
Tue Dec 9 15:04:22 UTC 2014


If you have enabled CH you specify in the config before you import:
prepare.chWeighting=fastest|shortest

If you disable CH you do this while querying

If you have a custom weighting you normally do that in the
GraphHopper.weighting method which can be controlled by the config or
even by custom URL parameters in the latest master.

Regards,
Peter


On 09.12.2014 14:28, Account Università Villa Luca wrote:
> Which option must be modified in order to change the weighting of the
> edges (for example, from fastest to shortest or to a particular
> weighting) in the config file?
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper




More information about the GraphHopper mailing list