[GraphHopper] Adding custom weight to edge

Peter graphhopper at gmx.de
Thu Mar 12 11:28:22 UTC 2015


> Should I replace the EdgeIteratorState in calcWeight ?
>
> What would be the drawbacks, I guess the polyline would be different, anything else? 

I do not recommend it. It leads to bugs for one-way streets if not
properly done. Besides this you'll loose the start and end polyline,
time, distance, ...

See #27



More information about the GraphHopper mailing list