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

Routing query parameters #57

Open
Trollgeir opened this issue Aug 2, 2020 · 1 comment
Open

Routing query parameters #57

Trollgeir opened this issue Aug 2, 2020 · 1 comment

Comments

@Trollgeir
Copy link

I want to exclude ferries from my OSRM routing.
Currently there are two ways to do this:

Either tweak my current OSRM settings to always exclude ferries (but maybe I don't always want to do this for my OSRM service).
Or somehow add "&exclude=ferry" in the end of the OSRM query.

The latter isn't possible as I cannot override the query parameters through vroom-express. Might I suggest the possibility to add a suffix parameter here? As in querysuffix = "&exclude=ferry". This would also open up other possibilities for OSRM queries.

@Trollgeir Trollgeir changed the title OSRM query parameters Routing query parameters Aug 2, 2020
@jcoupey
Copy link
Contributor

jcoupey commented Aug 4, 2020

Yes, currently the only way to change the additional parameters is to adjust the hard-coded value upstream.

I think this might be interesting at some point for both OSRM and ORS (see also VROOM-Project/vroom#310), but in order to make this actionable from vroom-express, we'd have to introduce a way to set this upstream in vroom.

Another question would be whether we setup predefined overridable additional parameters, or if we allow arbitrary parameters, which might lead to situations with routing errors (think parameters not available for both route and matrix queries).

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

2 participants