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

Profile-dependent router values #910

Open
jcoupey opened this issue Mar 30, 2023 · 0 comments
Open

Profile-dependent router values #910

jcoupey opened this issue Mar 30, 2023 · 0 comments

Comments

@jcoupey
Copy link
Collaborator

jcoupey commented Mar 30, 2023

Currently picking a routing engine happens using -r. Then several -a/-p variants can be used to match a given profile (as seen in the vehicle.profile value) to a given routing stack.

But it is not currently possible to send different profile requests to different routing engines. This is only a technical limitation: we're already creating a child instance of routing::Wrapper for each profile. The type of that wrapper is currently common (decided by -r) but we could totally have any wrapper type for each profile.

Probably this would mean introducing a syntax similar to -a car:host1 -a bike:host2 for the router, e.g. -r car:osrm -r bike:valhalla. And in order to not break backward compatibility the -r router option should default to use router for all profiles.

@jcoupey jcoupey added this to the v1.14.0 milestone Mar 30, 2023
@jcoupey jcoupey removed this from the v1.14.0 milestone Jun 22, 2023
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