[GraphHopper] OSM Relations for "Route"

John Zhao johnthu at gmail.com
Fri Jun 12 20:35:32 UTC 2015


Hi Nick,

I think what you need todo is:
1. parse route relation in OSM, attach it to names.
2. implement your own weighting, for the road with the same route name,
reduce the weight.

*Best Regards,*
*ZhiQiang ZHAO*

On Fri, Jun 12, 2015 at 12:41 PM, Peter <graphhopper at gmx.de> wrote:

>  Hi Nick,
>
> route relations are evaluated for foot and bike encoders to prefer routing
> along common official bike routes.
>
> See e.g. BikeCommonFlagEncoder.handleRelationTags and
> setCyclingNetworkPreference
>
> Regards,
> Peter
>
> On 12.06.2015 16:43, Nick Bauer wrote:
>
>  Hello,
>
>  I was wondering what if anything is set in Graphhopper to give preference
> to routing along a relation, such as type:route if specified as a parameter
>
>
> _______________________________________________
> GraphHopper mailing listGraphHopper at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150612/ccb32318/attachment.html>


More information about the GraphHopper mailing list