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
The duration of routing for hiking / pedestrian doesn't make any distinction between ascent and descent #1597
GraphHopper adds the elevation data since a few years and that's fantastic. Having the elevation for each of the points of the route is really a wonderful data very appreciated when calculating hiking routes.
However, it doesn't seem to take into account the elevation data when calculating the time / duration of the Path or Instruction. I realized about this, when I wanted to calculate the reversed path of a given route with 2000m of ascent, and 500m of descent. When calculating the reversed route (which has 500m of ascent and 2000m of descent), I saw that the time estimate was exactly the same.
At the beginning I thought that there was a bug in the time calculation process, and that it didn't show the correct time for reversed routes. But after doing some more tests, I can see that a 5km route, with barely no elevation, has the same time (60min) than a route with 300m or 400m of ascent.
I see that in the config.yml, there's a comment saying the following:
bike2 takes elevation data into account (like up-hill is slower than down-hill) and requires enabling graph.elevation.provider below
Perhaps it would be great to allow the customization of the config.yml to implement that in the hiking profile. Or even better, since knowing more accurate information, like the estimated walking time, is something that probably everyone wants to know, it could be implemented by default.
Would it be possible to implement this easily? I could do it myself with some hints / guidance. Or at least I could help with this.
This is partly done in #1750 (still no difference between downhill vs. uphill as this would require two weights per edge for foot+hike too. We need to do the same like we did for bike and car -> #1968)
Currently, the duration suggested by the hiking profile is good for trails that monotonously go down. The reverse trail is off from signposted estimates by a quite linear factor of around 1:1.6 or 1:1.7, which coincidentally maps to 500/300 - the DAV recommended elevation overheads. Edit: This mus be pure coincidence as trails are not vertical.
Sample routes in the other thread, at the end - #1679
Activity
karussell commentedon Apr 17, 2020
This is partly done in #1750 (still no difference between downhill vs. uphill as this would require two weights per edge for foot+hike too. We need to do the same like we did for bike and car -> #1968)
mprins commentedon Apr 19, 2020
Relevant methods are the DAV (DIN-Norm 33466) and SAC
https://www.bergfreunde.de/gehzeit-rechner/#Gehzeit-Berechnung
https://de.m.wikipedia.org/wiki/Marschzeitberechnung
hungerburg commentedon Jan 15, 2021
Currently, the duration suggested by the hiking profile is good for trails that monotonously go down. The reverse trail is off from signposted estimates by a quite linear factor of around 1:1.6 or 1:1.7, which coincidentally maps to 500/300 - the DAV recommended elevation overheads. Edit: This mus be pure coincidence as trails are not vertical.
Sample routes in the other thread, at the end - #1679
karussell commentedon Feb 28, 2023
@hungerburg the ETAs have now improved for the hike profile. In #1679 you gave these two examples:
Not a perfect match yet but an improvement. Furthermore the downhill path is now faster (2:03h, 0:32h).
I hope this makes more sense?