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
There are multiple reasons GraphHopper still uses it currently:
For access tags the most specific tag counts. We have:
access:conditional=no @ (Nov 1-Apr 30)
foot=yes
So foot=yes overrules the (conditional) access=no tag. The correct tagging would probably be:
access=no
foot:conditional=yes @ (May 1-Oct 31)
which means that access is forbidden for all transportation modes, except for pedestrians during summer.
GraphHopper normally would not consider highway=via_ferrata (hence this issue), but here it still does, because of the explicit foot=yes tag. Since the current idea is to exclude via-ferratas this is a bug in GraphHopper.
GraphHopper not only sets the access flag for the via-ferrata to 'true', but sets the speed to 5km/h, which would probably be way too fast, even if the via-ferrata was allowed. For this reason it even prefers the via-ferrata over the other route (the one you showed with the via-node).
GraphHopper currently does not consider the via_ferrata_scale. It does consider the sac_scale, though. If the via-ferrata was tagged as sac_scale=mountain_hiking or harder (T2 or harder) GraphHopper would at least reduce the speed to 2km/h and it would more likely choose the other route.
I never went there, not much of a via_ferrata fan. I stumbled over this just by accidence. From the literature/pictures, this one can be done without the special gear, given limited climbing experience and a bucket head for heights.
I guess, the sign reads "Closed from … to …", and therefore the conditional. Personally, I'd not have tagged foot=yes, it should be taken for granted.
I understand, that tagging there is actually wrong: The more specific rule rightfully overrides the general conditional. Removing foot=yes would be the remedy of my choice. Then tagging should be accurate?
I guess, the sign reads "Closed from … to …", and therefore the conditional.
Yes, then I guess it should be tagged as foot=yes; foot:conditional=no @ (Nov 1-Apr 30). But this won't fix the problem yet, because GraphHopper won't evaluate the conditional tag when there is foot=yes also, but this is a bug in GraphHopper IMO. @karussell?
There are quite a few other examples of via-ferratas tagged as foot=yes without any conditional access restrictions like this one for example: https://www.openstreetmap.org/way/129725314
In this case foot=yes doesn't really do anything, because this is the default anyway. But it isn't wrong to tag it, either. So the bigger problem seems that GraphHopper allows using ways unconditionally when they are tagged as foot=yes, even when they are via-ferratas like here.
Der Vorschlag mit foot:conditional ist besser. Der nächste hängt wieder ein foot=yes dran, wenn ichs einfach nur wegnimm.
sac_scale ist für Bergwanderwege (mountain_hiking, …) und Zugänge (hiking). Meistens brauchts nicht mehr als gute Schuhe und gern auch Schwindelfreiheit. Ich hab das Attribut dort weggetan, weil der Steig Schwierigkeiten bietet, die mit sac_scale nicht abgebildet werden können. Im Lauf der Zeit sind da ja fast alle Werte gesetzt gewesen, so unterschiedlich die Auffassungen.
via_ferrata_scale ist für sogenannte Klettersteige: Da läuft ein dickes Stahlseil durch, an dem man sich mit einem speziellen Klettersteigset (Sitzgurt und Schlinge mit Karabinern) absichern kann. Manchmal sind einfach nur Bergwanderrouten nachgerüstet worden und das Set ist nicht Pflicht. Die sitzen dann hin und wieder auf highway=path und tragen beide Klassifizierungen. Andere sind aber ehemalige Kletterrouten oder ganz neue "Produkte". Da haben path und also auch sac_scale nichts zu suchen.
Now I wrote in German, please excuse, will leave it at that.
As used for other ways and relations, access:conditional=* in conjunction with the opening_hours=* syntax can be used to map such restrictions.
This is a bit misleading, because a) opening_hours seems to be less fitting than conditional access(?) and b) the problem we saw here: access:conditional could be overruled by the (apparently quite popular) foot=yes tag for these ways. Since there is no transportation mode other than foot that can be used on via-ferratas the example should maybe better mention foot:conditional instead of access:conditional.
Thanks for you explanations regarding sac_scale vs. via_ferrata scale. GraphHopper should either pay attention to via_ferrata_scale then or explicitly close all via_ferratas (even those tagged as foot=yes).
And maybe via_ferrata should be mentioned by the highway wiki
Die Fehlstellen im Wiki aufgefüllt, nach bestem Wissen. Mal sehen, wie das aufgenommen wird. Der Absamer Klettersteig ist nun nicht mehr missverständlich getaggt. Wenn ich in ein paar Tagen die Route oben aufschlagen werde, dann wird graphhopper nicht mehr dort routen, jetzt im Winter? Aber im Sommer dann wieder?
Sorry, schon wieder auf Deutsch!
I'd say, if a "highway" is based on via_ferrata and not on path, it is not suitable for walking nor for hiking directions. There may be paths with a high via_ferrata_scale though, as some contributors obviously despise the tag. A via_ferrata scale of C likely goes beyond what sac_scale can cover. I do not think any via_ferrata_scale values can be combined with an sac_scale value below alpine_hiking (T4).
It is kind of a bug, yes. It is a bit uncommon to explicitly tag an already accessible highway with foot=yes. Still I've fixed this and also made the access handling in our access parsers more aligned.
And maybe via_ferrata should be mentioned by the highway wiki
But why does it exist at all? Why isn't it just a path with a special sac_scale or maybe a separate tag via_ferrata or as a route relation? It does not really fit the normal tagging schema and also according the wiki "Although the proposal was heavily disputed" it seems I'm not alone with this thinking ;). Also this:
I'd say, so that routers have an easy way to tell, where not to send unsuspecting pedestrians, cyclists or horseback riders or whatever transport highway=path is for :) Other reason: There is no path there, just a steel cable :) And occupying highway key enforces that. But this does not square with some mappers desire to map a path everywhere they went or climbed, so it is disputed…
When following the procedural safety measures, i.e. harness with dual carabiner clips and click click every few meters, e.g. the via ferrata mentioned above https://klettersteig.de/klettersteig/absamer_klettersteig/1799 gets 4½ hours ETA from entry point to hut according to guidepost. It may be shorter by distance, even when accounting for the vertical sections, but the number of people that are sooner at the hut than when taking the hiking path, or the number of those, that have to turn around at the first "key-section"?
For your convenience, the 4½ hours ETA - foot gives 0:53, hiking gives 1:37. No idea, if the ETA were more plausible if the ferrata was mapped as a path? I would not bet on anybody in the world doing that in less than one hour though.
Activity
hungerburg commentedon Dec 28, 2022
There is a nice mountain hiking path to Bettelwurfhütte from Absam - https://graphhopper.com/maps/?point=47.307968%2C11.519214&point=47.331019%2C11.510749&point=47.338586%2C11.507562&profile=hike&layer=OpenStreetMap
Remove the via node, graphhopper selects the shorter path over a via ferrata, in both the foot and hike profiles. Is this deliberate?
easbar commentedon Jan 3, 2023
No, GraphHopper should not use the via-ferrata here, especially not for the foot profile.
This is the via-ferrata: https://www.openstreetmap.org/way/128322791
There are multiple reasons GraphHopper still uses it currently:
So
foot=yesoverrules the (conditional)access=notag. The correct tagging would probably be:which means that access is forbidden for all transportation modes, except for pedestrians during summer.
GraphHopper normally would not consider
highway=via_ferrata(hence this issue), but here it still does, because of the explicitfoot=yestag. Since the current idea is to exclude via-ferratas this is a bug in GraphHopper.GraphHopper not only sets the access flag for the via-ferrata to 'true', but sets the speed to 5km/h, which would probably be way too fast, even if the via-ferrata was allowed. For this reason it even prefers the via-ferrata over the other route (the one you showed with the via-node).
GraphHopper currently does not consider the
via_ferrata_scale. It does consider thesac_scale, though. If the via-ferrata was tagged assac_scale=mountain_hikingor harder (T2 or harder) GraphHopper would at least reduce the speed to 2km/h and it would more likely choose the other route.Can you comment on the tagging here?
hungerburg commentedon Jan 3, 2023
I never went there, not much of a via_ferrata fan. I stumbled over this just by accidence. From the literature/pictures, this one can be done without the special gear, given limited climbing experience and a bucket head for heights.
I guess, the sign reads "Closed from … to …", and therefore the conditional. Personally, I'd not have tagged foot=yes, it should be taken for granted.
I understand, that tagging there is actually wrong: The more specific rule rightfully overrides the general conditional. Removing foot=yes would be the remedy of my choice. Then tagging should be accurate?
easbar commentedon Jan 4, 2023
Yes, then I guess it should be tagged as
foot=yes; foot:conditional=no @ (Nov 1-Apr 30). But this won't fix the problem yet, because GraphHopper won't evaluate the conditional tag when there isfoot=yesalso, but this is a bug in GraphHopper IMO. @karussell?There are quite a few other examples of via-ferratas tagged as
foot=yeswithout any conditional access restrictions like this one for example: https://www.openstreetmap.org/way/129725314In this case
foot=yesdoesn't really do anything, because this is the default anyway. But it isn't wrong to tag it, either. So the bigger problem seems that GraphHopper allows using ways unconditionally when they are tagged asfoot=yes, even when they are via-ferratas like here.It looks like you removed the
sac_scaletag here: https://www.openstreetmap.org/way/128322791 (version 14). Can you explain why? What is the difference between via_ferrata_scale and sac_scale?hungerburg commentedon Jan 4, 2023
Der Vorschlag mit foot:conditional ist besser. Der nächste hängt wieder ein foot=yes dran, wenn ichs einfach nur wegnimm.
sac_scale ist für Bergwanderwege (mountain_hiking, …) und Zugänge (hiking). Meistens brauchts nicht mehr als gute Schuhe und gern auch Schwindelfreiheit. Ich hab das Attribut dort weggetan, weil der Steig Schwierigkeiten bietet, die mit sac_scale nicht abgebildet werden können. Im Lauf der Zeit sind da ja fast alle Werte gesetzt gewesen, so unterschiedlich die Auffassungen.
via_ferrata_scale ist für sogenannte Klettersteige: Da läuft ein dickes Stahlseil durch, an dem man sich mit einem speziellen Klettersteigset (Sitzgurt und Schlinge mit Karabinern) absichern kann. Manchmal sind einfach nur Bergwanderrouten nachgerüstet worden und das Set ist nicht Pflicht. Die sitzen dann hin und wieder auf highway=path und tragen beide Klassifizierungen. Andere sind aber ehemalige Kletterrouten oder ganz neue "Produkte". Da haben path und also auch sac_scale nichts zu suchen.
Now I wrote in German, please excuse, will leave it at that.
easbar commentedon Jan 4, 2023
Yes. Also because tagging
foot=yesis not wrong. It is just unnecessary and GraphHopper handles it incorrectly in this case.From the wiki:
This is a bit misleading, because a) opening_hours seems to be less fitting than conditional access(?) and b) the problem we saw here:
access:conditionalcould be overruled by the (apparently quite popular) foot=yes tag for these ways. Since there is no transportation mode other thanfootthat can be used on via-ferratas the example should maybe better mentionfoot:conditionalinstead ofaccess:conditional.Thanks for you explanations regarding sac_scale vs. via_ferrata scale. GraphHopper should either pay attention to
via_ferrata_scalethen or explicitly close all via_ferratas (even those tagged asfoot=yes).And maybe
via_ferratashould be mentioned by the highway wikihungerburg commentedon Jan 4, 2023
Die Fehlstellen im Wiki aufgefüllt, nach bestem Wissen. Mal sehen, wie das aufgenommen wird. Der Absamer Klettersteig ist nun nicht mehr missverständlich getaggt. Wenn ich in ein paar Tagen die Route oben aufschlagen werde, dann wird graphhopper nicht mehr dort routen, jetzt im Winter? Aber im Sommer dann wieder?
Sorry, schon wieder auf Deutsch!
I'd say, if a "highway" is based on via_ferrata and not on path, it is not suitable for walking nor for hiking directions. There may be paths with a high via_ferrata_scale though, as some contributors obviously despise the tag. A via_ferrata scale of C likely goes beyond what sac_scale can cover. I do not think any via_ferrata_scale values can be combined with an sac_scale value below alpine_hiking (T4).
karussell commentedon Mar 1, 2023
It is kind of a bug, yes. It is a bit uncommon to explicitly tag an already accessible highway with foot=yes. Still I've fixed this and also made the access handling in our access parsers more aligned.
But why does it exist at all? Why isn't it just a path with a special sac_scale or maybe a separate tag via_ferrata or as a route relation? It does not really fit the normal tagging schema and also according the wiki "Although the proposal was heavily disputed" it seems I'm not alone with this thinking ;). Also this:
fix bug in conditional handling, #1326
hungerburg commentedon Mar 1, 2023
I'd say, so that routers have an easy way to tell, where not to send unsuspecting pedestrians, cyclists or horseback riders or whatever transport highway=path is for :) Other reason: There is no path there, just a steel cable :) And occupying highway key enforces that. But this does not square with some mappers desire to map a path everywhere they went or climbed, so it is disputed…
When following the procedural safety measures, i.e. harness with dual carabiner clips and click click every few meters, e.g. the via ferrata mentioned above https://klettersteig.de/klettersteig/absamer_klettersteig/1799 gets 4½ hours ETA from entry point to hut according to guidepost. It may be shorter by distance, even when accounting for the vertical sections, but the number of people that are sooner at the hut than when taking the hiking path, or the number of those, that have to turn around at the first "key-section"?
For your convenience, the 4½ hours ETA - foot gives 0:53, hiking gives 1:37. No idea, if the ETA were more plausible if the ferrata was mapped as a path? I would not bet on anybody in the world doing that in less than one hour though.
fix bug in conditional handling, graphhopper#1326
[RSPS-1174] : Upgrade gh7 (#35)
[RSPS-1546] Upgrade to GH8 (#38)
do not allow via_ferrata, closes graphhopper#1326