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
get_off_bike should differ between city vs rural #2777
Currently we show "get off bike" for paths e.g. here although it is probably not required to get off the bike here. In general we should probably mark "get_off_bike" as true only if it is legally required. Similar problem here. The reason is that we do not set the speed to walking speed for path in case of mtb vehicle but for the other bike profiles we do.
Is it required for highway=path @ratrun ? (I found this issue where you say so and in the wiki they even say 'Actual usage of highway=footway vs highway=path differs between mappers and areas. ')
As far as I can tell there is no common understanding for ways just tagged as highway=path. There are endless discussions on the OSM forum about that issue. This is documented on the english wiki where they say "Usage of this tag varies regionally, and paths without any additional tags are common. Consequently, paths require careful interpretation by data consumers to avoid causing map users inconvenience, or worse."
What I can tell is that it is definitely not required to get off the bike on such ways when we are talking about the international level. So I agree to remove the path from the GET_OFF_BIKE list in OSMGetOffBikeParser. If you plan to add a special check for residential areas then this seem to be a good idea. The logic would be to mark those segments as get off the bike in residiential areas.
This is just an internal naming and in BikeCommonAverageSpeedParser.java it basically means that the speed will be 5km/h and in BikeCommonPriorityParser.java it means that it should be avoided. We could rename this accordingly.
My point is that we should standardize the handling of such ways across parsers. The changes from 4029764 indicate that the cyclist is able to drive on these ways without getting off his bike. The priority and speed should reflect this.
The main problem is that these "vehicle" parsers still exist. If we continue working on dissolving (this this recent removal) these vehicle parsers, then the weighting will be directly visible in the custom model.
At least we should get rid of the mtb and racing bike related parsers (access+average_speed+priority) and implement this via a custom model and bike as a base vehicle. For mtb I have a prototype and the only minor feature that is missing is an equivalent to the setSpecificClassBicycle handling.
IMHO, this is up for discussion. The OSM wide consensus seems to be that highway=path should be treated the same as highway=footway. We should rather check tags with a well established definition. e.g:
Activity
otbutz commentedon Mar 28, 2023
Relevant discussion for the interpretation of path/footway: openstreetmap-carto/openstreetmap-carto#1698 (comment)
tl;dr: treat them equally and rely on more specific tags to determine restrictions on bicycle traffic
ratrun commentedon Apr 1, 2023
As far as I can tell there is no common understanding for ways just tagged as
highway=path. There are endless discussions on the OSM forum about that issue. This is documented on the english wiki where they say "Usage of this tag varies regionally, and paths without any additional tags are common. Consequently, paths require careful interpretation by data consumers to avoid causing map users inconvenience, or worse."What I can tell is that it is definitely not required to get off the bike on such ways when we are talking about the international level. So I agree to remove the
pathfrom theGET_OFF_BIKElist in OSMGetOffBikeParser. If you plan to add a special check for residential areas then this seem to be a good idea. The logic would be to mark those segments as get off the bike in residiential areas.bt90 commentedon Apr 3, 2023
@karussell we still treat
highway=footwayas a pushing section in the avg speed and priority parsers:graphhopper/core/src/main/java/com/graphhopper/routing/util/parsers/BikeCommonPriorityParser.java
Line 50 in 94a5602
graphhopper/core/src/main/java/com/graphhopper/routing/util/parsers/BikeCommonAverageSpeedParser.java
Line 35 in 94a5602
karussell commentedon Apr 3, 2023
This is just an internal naming and in BikeCommonAverageSpeedParser.java it basically means that the speed will be 5km/h and in BikeCommonPriorityParser.java it means that it should be avoided. We could rename this accordingly.
bt90 commentedon Apr 3, 2023
My point is that we should standardize the handling of such ways across parsers. The changes from 4029764 indicate that the cyclist is able to drive on these ways without getting off his bike. The priority and speed should reflect this.
karussell commentedon Apr 3, 2023
But we want a low speed for footway (?)
The main problem is that these "vehicle" parsers still exist. If we continue working on dissolving (this this recent removal) these vehicle parsers, then the weighting will be directly visible in the custom model.
At least we should get rid of the mtb and racing bike related parsers (access+average_speed+priority) and implement this via a custom model and
bikeas a base vehicle. FormtbI have a prototype and the only minor feature that is missing is an equivalent to the setSpecificClassBicycle handling.bt90 commentedon Apr 3, 2023
IMHO, this is up for discussion. The OSM wide consensus seems to be that
highway=pathshould be treated the same ashighway=footway. We should rather check tags with a well established definition. e.g:graphhopper/core/src/main/java/com/graphhopper/routing/util/parsers/BikeCommonPriorityParser.java
Line 162 in 94a5602
[RSPS-1174] : Upgrade gh7 (#35)
[RSPS-1546] Upgrade to GH8 (#38)