[GraphHopper] Load a custom edge weight
Rossano Schifanella
schifane at di.unito.it
Wed Mar 4 19:22:00 UTC 2015
Hi Peter,
> as measure.
>
> yes, there is algo.setWeightLimit (where you can e.g. use
> weighting.getMinWeight(distance)) and we'll probably add or change this
> to a more controllable feature like visited nodes very soon.
Just a clarification. Suppose I have a source and destination point that
are geographically distant D. My weighting function is something in the
range [0,1] not related to distance. For having a path that minimizes w
and is not longer than, for example, than 2*D (I mean globally) should I
use algo.setWeightLimit?
In the positive, how can I set this limit for each GHRequest?
Thanks!
Rossano
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
More information about the GraphHopper
mailing list