[GraphHopper] Weighting for bicycle routing
XCTrails
info at xctrails.org
Tue Aug 25 18:06:42 UTC 2015
Hi Peter,
that is possible and you would need to decrease the weight of a certain
> edge if this edge is part of a bike route relation. For that you'll need to
> tell the flag encoder to store this info e.g. in the flags and fetch it in
> a custom Weighting. See eg. how to create a custom weighting
> <https://github.com/graphhopper/graphhopper/blob/master/docs/core/weighting.md>
> and e.g. encoder.setSpeed on how to store information in the flags.
>
ok, that's what I suspected... Seems like a bit more effort and something
for the Christmas break ;-)
cheers,
Armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150825/8d41639d/attachment.html>
More information about the GraphHopper
mailing list