Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bike profiles route through alleys in Montreal - this is less than desirable #3971

Closed
danpat opened this issue Apr 24, 2017 · 10 comments
Closed
Labels

Comments

@danpat
Copy link
Member

danpat commented Apr 24, 2017

In Montréal, our bike profile likes to send people down alleys:

screen shot 2017-04-24 at 10 56 09 am

however, at least in Montréal, routing via highway=service, service=alley class roads highly undesirable:

http://www.openstreetmap.org/way/21062511

There are two reasons we should consider avoiding alleys for bikes:

  1. The road surface could be a bit iffy
  2. You typically need to cross a through-street at the end of each alley - this is a lot less preferable than traveling with the flow of traffic.

We should consider making two changes:

  1. Slow down travel speeds in alleys - they're currently set to 15km/h, just like all other roads.
  2. Add some entry/exit penalties - either via Penalize turns from non-local access only edges to local access only edges #3721, or Improve Turn Function #2912 / Allow abitrary edge weights #2399

Related old ticket: #592

@danpat
Copy link
Member Author

danpat commented May 3, 2017

@emiltin Do you have any thoughts on this one? Can you think of any bad consequences of globally penalizing highway=service service=alley for the cycling profile?

@emiltin
Copy link
Contributor

emiltin commented May 3, 2017

well, it depends on whether you think alleys are attractive or not. in some places, choosing smaller roads might be preferrably, as long as the route is not longer.

in any case, when computing fastest route, i don't think the current route in the example above makes sense. it's longer, and also have more turns, so something should be changed. maybe the first thing to clarify is why the alley is choosen?

@vincentsarago
Copy link

Also this is strange because there is a cycle path on Rue Rachel Est ...

@TheMarex
Copy link
Member

TheMarex commented May 4, 2017

Did some leg work here and looked at the possible impact across a few cities by searching for highway=service + service=alley:

Berlin

berlin alley

Amsterdam

bike alley amsterdam

Copenhagen

bike alley copenhagen

London

bike alley london

Montreal

bike alley montreal

As you can see alleys are really uncommon in other major bike cities. I spot checked them in each of the cities above and I don't think putting penalties on them would impact route quality at all. Most of them are just short connection streets to buildings that you can't drive through anyway.

I will move forward with adding weight penalties to service=alley roads.

@emiltin
Copy link
Contributor

emiltin commented May 5, 2017

ok. but why would the alley be choosen in the first place`in the original example, when the route is longer than just following the main road Rue Rachel?

@danpat
Copy link
Member Author

danpat commented May 5, 2017

@emiltin Hmm, that's a good question.

Here's a screenshot of the debug map for the bike profile at this location:

screen shot 2017-05-05 at 11 01 41 am

Unless we have a connectivity problem (maybe a turn restriction?), I can't see why we'd route down the alley here rather than taking Rue Rachel - it certainly seems to be the shorter path, and most roads are 15km/hr.

I'll dig a little more.

@TheMarex
Copy link
Member

TheMarex commented May 8, 2017

The detour is caused by our safety penalty on major streets, sadly we can't see this in the debug tiles yet, since we don't display weight but only duration.

@almithani
Copy link

@TheMarex does the safety penalty apply to cycleways? The entire route along Rachel Est has tags cycleway = right and oneway:bicycle = no (http://www.openstreetmap.org/way/393785994)

@emiltin
Copy link
Contributor

emiltin commented May 10, 2017

for copenhagen, it certainly would not make sense to choose a small sideroad for safety reasons unless you have a kid cycling on his/her own bike, since we have cycletracks on all important roads, and cyclists would choose this over a detour.

@emiltin
Copy link
Contributor

emiltin commented May 10, 2017

it seems odd to first add penalties to main roads, and then add penalties to alleys to force the route back on the main road.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants