Is there a reason why routing by bike and mtb is allowed by default on Footways, when there is no bicycle access value? Shouldn’t bike access be prevented on Footways unless it explicitly says cycling access is permitted (as per OSM advice in Footways: https://wiki.openstreetmap.org/wiki/Tag:highway=footway)? In the UK it is normally illegal to cycle on a footpath.
For such ways we assume that pushing the bicycle is allowed.
This is the relevant test:
// Pushing section: this is fine as we obey the law!
way.clearTags();
way.setTag("highway", "footway");
assertEquals(PUSHING_SECTION_SPEED, encoder.getSpeed(way));
assertPriority(AVOID_IF_POSSIBLE.getValue(), way);
I think if people choose “bike” as the vehicle, they would expect to be riding the bike not pushing it!
It would seem to make more sense if footways were only used when the vehicle was “foot” and “hike”. Also, there doesn’t seem to be any warning in the route instructions about the need to dismount from the bike, so I think people would reasonably assume that the route was legal for cycling.
Is the only way around this to create a custom profile for bike routing that forbids footways?