[GraphHopper] alternative route that is a x% length variation of the shortest route

Rossano Schifanella schifane at di.unito.it
Wed Dec 3 19:39:49 UTC 2014


Hi all,

For a project related to walkability, I need to calculate a route 
between two points with custom weights (basically the weights reflect 
the walkability score of an edge) that is not longer than 20% of the 
shortest path. The idea is to have an alternative route that maximizes 
our metric but that does not differ too much in terms of distance w.r.t. 
the shortest route. I just started to work with GraphHopper and any 
suggestion on how to implement such a scheme would be very appreciated.

Thanks a lot!

Regards,
Rossano



More information about the GraphHopper mailing list