> 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