Add stairsTimeFactor to StreetEdge - #3832
Conversation
4f77709 to
244b2e1
Compare
|
We should probably not apply the elevation adjustments to stairs. |
This is now done by using raw length on stairs |
|
I'm getting different duration on walk leg with and without elevation data on long outdoor stairs (https://www.openstreetmap.org/way/160560554) where I set the origin and destination to be along the stairs. Could there still be some issue with splitting stair edges or maybe I'm missing something? |
This seem to be covered by #3862 |
There could be two related factors:
|
Yes, the stairs flag was not being copied to the split edges. This should be handled now. However there are still some flags, which do not get copied, and we should check which ones should be copied. |
Summary
Currently stairs are traversed using the same speed as regular horizontal ways. This adds a specific factor which slows down stair traversal by a configurable factor
Issue
Currently traversal between two platforms in Oslo S takes less than two minutes, which is unrealistic. Much of this is due to the stairs being too quick to traverse.
Unit tests
None added (yet)
Code style
✅
Documentation
None required
Changelog
The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add
[changelog skip]in the title.