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

Add distance restriction to round trip routing #658

Closed
rabidllama opened this issue Jan 21, 2020 · 0 comments
Closed

Add distance restriction to round trip routing #658

rabidllama opened this issue Jan 21, 2020 · 0 comments
Assignees

Comments

@rabidllama
Copy link
Contributor

Similar to the alternative routes algorithm, GH fallbacks to A-Star Bi-direction, and so there should be a restriction placed on the API that limits the maximum estimated distance of a round trip route to be a value defined in the app.config.

See issue #651 , though implementation should be simpler as it just needs a quick check in the RouteRequestHandler against the value in the app.config as done with other API parameters. A good default would be similar to previous maximum distance with dynamic weights (100km).

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

No branches or pull requests

1 participant