You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
highway=cycleway + access=no + bicycle=NULL is used for routing #2980
See discussion in #870. Maybe @ratrun can comment on this.
Anyway, the discussion about the tagging above is valid. I'm going to prepare a change to accept highway=cycleway toghether with vechicle=no. We should allow this for bicyles. Cycleways under construction should be tagged with with highway=construction
Currently we are treating access=no and vehicle=no the same way with allowing this segment for bicycles. But according to https://wiki.openstreetmap.org/wiki/Tag:access%3Dno the intention of access=no is stronger. While on a segment tagged as vehicle=no it is still possible and legal to dismount and push for access=no this is not the case. So I think that this problem report is valid and we should change it. I'm going to prepare a PR if there aren't any objections.
And should we remove the special case way.hasTag("highway", "cycleway")) in BikeCommonAccessParser? And then consider the "dismount" for vehicle=no in OSMGetOffBikeParser and BikeCommonAverageSpeedParser?
Have also thought about this like using foot_access in a custom model as exception when bike_access is false but there are several cases where is does not work like for steps or bad surfaces or a too big hike_rating (sac_scale) etc.
Activity
karussell commentedon Apr 21, 2024
See discussion in #870. Maybe @ratrun can comment on this.
bt90 commentedon Apr 21, 2024
Access parsing aside, the road isn't tagged properly IMHO. This should be
highway=construction+construction=cyclewayas explained in the OSM wiki:https://wiki.openstreetmap.org/wiki/Tag:highway%3Dconstruction#How_to_map_the_start_of_a_road_repair_or_reconstruction
ratrun commentedon Apr 21, 2024
Currently we are treating
access=noandvehicle=nothe same way with allowing this segment for bicycles. But according to https://wiki.openstreetmap.org/wiki/Tag:access%3Dno the intention ofaccess=nois stronger. While on a segment tagged asvehicle=noit is still possible and legal to dismount and push foraccess=nothis is not the case. So I think that this problem report is valid and we should change it. I'm going to prepare a PR if there aren't any objections.karussell commentedon Apr 21, 2024
And should we remove the special case
way.hasTag("highway", "cycleway"))in BikeCommonAccessParser? And then consider the "dismount" for vehicle=no in OSMGetOffBikeParser and BikeCommonAverageSpeedParser?Fix for graphhopper#2980, block highway=cycleway with access=no
ratrun commentedon Apr 21, 2024
I extended the check there in my first version of the PR, see #2981
Yes that is a good idea. I'll try to extend the PR.
bt90 commentedon Apr 21, 2024
Broadly speaking, we should do this for all cases where foot access is allowed but biking isn't.
karussell commentedon Apr 21, 2024
Have also thought about this like using
foot_accessin a custom model as exception whenbike_accessisfalsebut there are several cases where is does not work like for steps or bad surfaces or a too bighike_rating(sac_scale) etc.Fix for #2980, block highway=cycleway with access=no (#2981)
ratrun commentedon Jun 20, 2024
This issue can be closed, the provided examples are working.