Skip to content

Consider via_ferrata for hike mode #1326

Closed

Description

@karussell

See this route. Or is this too dangerous or with <1000 occasions not worth?

Activity

  1. hungerburg commented on Dec 28, 2022

    @hungerburg

    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?

  2. easbar commented on Jan 3, 2023

    @easbar
    Member

    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

    access:conditional=no @ (Nov 1-Apr 30)
    foot=yes
    highway=via_ferrata
    name=Absamer Klettersteig (KS4-B bzw. C/D)
    source=survey
    trail_visibility=good
    via_ferrata_scale=3
    wikidata=Q30350091
    wikipedia=de:Absamer Klettersteig
    

    There are multiple reasons GraphHopper still uses it currently:

    1. 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.

    1. 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.

    2. 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).

    3. 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.

    Can you comment on the tagging here?

  3. hungerburg commented on Jan 3, 2023

    @hungerburg

    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?

  4. easbar commented on Jan 4, 2023

    @easbar
    Member

    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.

    It looks like you removed the sac_scale tag here: https://www.openstreetmap.org/way/128322791 (version 14). Can you explain why? What is the difference between via_ferrata_scale and sac_scale?

  5. hungerburg commented on Jan 4, 2023

    @hungerburg

    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.

  6. easbar commented on Jan 4, 2023

    @easbar
    Member

    Der Vorschlag mit foot:conditional ist besser. Der nächste hängt wieder ein foot=yes dran, wenn ichs einfach nur wegnimm.

    Yes. Also because tagging foot=yes is not wrong. It is just unnecessary and GraphHopper handles it incorrectly in this case.

    From the wiki:

    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

  7. hungerburg commented on Jan 4, 2023

    @hungerburg

    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).

  8. karussell commented on Mar 1, 2023

    @karussell
    MemberAuthor

    but this is a bug in GraphHopper IMO. @karussell?

    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:

    There is some overlap between ferratas and highway=path with Safety measures on hiking trails

  9. hungerburg commented on Mar 1, 2023

    @hungerburg

    But why does it exist at all?

    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.

  10. added a commit that references this issue on Jun 21, 2023
  11. added a commit that references this issue on Oct 27, 2023
  12. added this to the 9.0 milestone on Apr 2, 2024
  13. added a commit that references this issue on Apr 3, 2024
    413ec9c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions