GraphHopper.com | Forum | GitHub | Maps | Blog

AbstractFlagEncoder::applyMaxSpeed(Readerway way) logical question


#1

Hi all,

I just have a logical question about the AbstractFlagEncoder::applyMaxSpeed(Readerway way) function.

Is there no possibility in osm where a way is tagged with forward and backward speed at the same time? If I correctly interpret the function, it will use the backward speed if it is present (and above 0), because logical backward speed is always lower than forward speed and also should be above 0, if it present. So the maxSpeed of a way is determined by the backward speed also if you drive forward?

Best
Martin