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 <[email protected]> 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 > [email protected]https://lists.openstreetmap.org/listinfo/graphhopper > > > > > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper > >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
