Hello all
I am starting to look at bike routing and I note in the handleBikeRelated
method in BikeCommonFlagEncoder the following logic applies.
if (way.hasTag("bicycle", intendedValues))
{
if (isPusingSection && !way.hasTag("bicycle", "designated"))
wayType = WayType.OTHER_SMALL_WAY;
else
wayType = WayType.CYCLEWAY;
} else if ("cycleway".equals(highway))
wayType = WayType.CYCLEWAY;
else if (roadValues.contains(highway))
wayType = WayType.ROAD;
This does not seem correct to me as from my understanding this is taking the
fact that a way has been marked as having a right of way for bicycles (but not
a pushing section) then it is a full blown cyclepath. In my mind at least
cycleway implies dedicated and marked (normally with differently coloured
tarmac) sections which is a much stronger indication for cycle use than just a
bicycle right of way.
Am I correct and if so should this be changed or was there a reason for this
decision in Graphhopper.
Sincerely
Stuart Adam
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper