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

Car route should not begin/end on a motorway #682

Open
polyscias opened this issue Mar 27, 2024 · 8 comments
Open

Car route should not begin/end on a motorway #682

polyscias opened this issue Mar 27, 2024 · 8 comments

Comments

@polyscias
Copy link
Contributor

In most well developed countries it is forbidden to stop on a motorway (highway=motorway/trunk), so when a router is searching for the begin/end of the route is should exclude motorways. Example of things going wrong:

http://brouter.de/brouter-web/#map=16/51.9858/7.5655/standard&lonlats=7.555976,51.984186;7.550569,51.985726&profile=car-eco

@poutnikl
Copy link
Contributor

poutnikl commented Mar 28, 2024

But the route start/stop points do not necessarily mean you physically start/stop there. It may mean you already are on a motorway (common case if you are a "navigator" during abroad car trip) or you just want to know how to get on the motorway.

@polyscias
Copy link
Contributor Author

But the route start/stop points do not necessarily mean you physically start/stop there.

Indeed, drivers should never 100% trust the routes that are calculated and keep thinking themselves. Still it would be good to have the route as good as possible.

It may mean you already are on a motorway (common case if you are a "navigator" during abroad car trip) or you just want to know how to get on the motorway.

I do not know any car routing device that is integrating brouter and a driver should not operate a smartphone during driving so the only remaining case is where a co-driver uses his/her smartphone.

This argument only holds for the "From", for the "To" I see not a single good reason it should end on a motorway.

Implementation should be relatively simple, find these points is separate functionality and you just have to filter out highway=motorway/trunk running the algorithm.

@devemux86
Copy link
Contributor

devemux86 commented Mar 28, 2024

It may mean you already are on a motorway (common case if you are a "navigator" during abroad car trip)

Correctly. 👍

Routing (automatic or not) is necessary for navigation.
Users expect that routes can start anywhere (including motorways).

Routing should not start arbitrarily on random roads other than the road the user is on.


Cruiser is a navigator using BRouter also for car and motorcycle driving.

@poutnikl
Copy link
Contributor

poutnikl commented Mar 28, 2024

Indeed, drivers should never 100% trust the routes that are calculated and keep thinking themselves. Still it would be good to have the route as good as possible.

My post was not in context of routing reliability, but about starting/stopping the routing on motorways intentionally.

I do not know any car routing device that is integrating brouter and a driver should not operate a smartphone during driving so the only remaining case is where a co-driver uses his/her smartphone.

You have probably missed the navigator. I was not speaking about a driver on a motorway. I occasionally perform navigator role on abroad vacation trips with friends and start routing at motorway in real time frequently.

This argument only holds for the "From", for the "To" I see not a single good reason it should end on a motorway.

The task to get on a motorway is very frequent, as it may be challenging to orientation. Getting already on the motorway, you often do not need navigation for hours.

Based on what @devemux86 has said, it looks like you want a kind of safety net again random manual choosing of motorway. But this way of selection can bring a whole bunch of other troubles, not limited to motorways.

@polyscias
Copy link
Contributor Author

You have probably missed the navigator.

Yes, I initially missed that but already got it in my previous reply and proposed to limit it to the destination point.

it looks like you want a kind of safety net again random manual choosing of motorway

Not directly, I want the router to give the best route which a human should expect.

@devemux86, @poutnikl do you think this route for somebody that visited Buschkamp and want to driver home should end on the highway?

@poutnikl
Copy link
Contributor

poutnikl commented Mar 31, 2024

What is the point of not selecting of destination properly or of not having home as the saved favourite of the house approaching road?

The best routes a human may expect may differ very much, based on a scenario.

They is no reason not to allow motorway as a start/destination, if a car is allowed to be going there, just to fix a very specific case of bad routing caused by a human.

@devemux86
Copy link
Contributor

They is no reason not to allow motorway as a start/destination, if a car is allowed to be going there

Indeed, any routing (driving, cycling, walking) should work everywhere that is allowed.

Or perhaps mean the snap of waypoints to nearby roads?
This is different and happens before routing. There is a parameter of waypoint catching range.

@devemux86
Copy link
Contributor

Or perhaps mean the snap of waypoints to nearby roads?

For example GraphHopper API has the parameter "snap_prevention":

"Optional parameter to avoid snapping to a certain road class or road environment. Currently supported values are motorway, trunk, ferry, tunnel, bridge and ford."

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

No branches or pull requests

3 participants