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

Sort rather than filter Nodes when bearing or radius is provided #5304

Open
mcwhittemore opened this issue Dec 10, 2018 · 3 comments
Open

Sort rather than filter Nodes when bearing or radius is provided #5304

mcwhittemore opened this issue Dec 10, 2018 · 3 comments

Comments

@mcwhittemore
Copy link

It appears that OSRM filters out nodes that don't match provided radius or bearing options. Would it be possible to convert that filter into a sort so that when no nodes match the bearing and radius filters a route can still be found?

Reading through the code I think this happens here.

@danpat
Copy link
Member

danpat commented Dec 10, 2018

Some previous discussion on this: #605 (comment)

@danpat
Copy link
Member

danpat commented Dec 13, 2018

To maintain backward compatibilty, I'm going to propose a new API parameter: bearing_mode=strict/soft. By default, current behaviour would be maintained. If bearing_mode=soft is supplied, we'd switch to an alternative weighting, perhaps a biasing instead of a strict filter, as suggested in #605.

Copy link

github-actions bot commented Jul 8, 2024

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Jul 8, 2024
@1ec5 1ec5 removed the Stale label Jul 9, 2024
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