conveyal / r5

Developed to power Conveyal's web-based interface for scenario planning and land-use/transport accessibility analysis, R5 is our routing engine for multimodal (transit/bike/walk/car) networks with a particular focus on public transit
https://conveyal.com/learn
MIT License
286 stars 73 forks source link

Bicycle LTS assigned to stairs #194

Open abyrd opened 8 years ago

abyrd commented 8 years ago

I noticed that edges with the STAIRS flag also have a bicycle LTS attached. image

buma commented 8 years ago

I'm not sure if this is a bug or not based on my Traffic stress understanding. But during traverse STAIR_RELUCTANCE_FACTOR (3) is multiplied with weight if stairs are used if walking is used WALK_RELUCTANCE_FACTOR (2) is also multiplied with weight.

If this is wrong it can be easily changed.

mattwigway commented 7 years ago

LTS 1 is definitely wrong. Have you ever ridden a bike down a flight of stairs? It's terrifying.

abyrd commented 7 years ago

Stairs don't cause traffic "stress", they are just slow and require a mode switch, and those penalties are still applied. @buma and I were thinking this is sufficient to discourage stairs from appearing in routes.