-
Notifications
You must be signed in to change notification settings - Fork 343
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
Ability to add endpoint slug as argument #218
Comments
Adding parameters for API keys might make sense at some point, but I think we should focus first on dealing with the required changes in URLs so that everything works with a local routing server. Full URL for matrix and routing requests used inside VROOM:
where the
|
Yes, agreed. Although in the meantime, we can resolve this issue with #432 on our end. At least for the local case, Docker and system installations would both work with
That's what I thought as well. If remote services should be supported, this solution is still needed and valid. |
Great! The plan here was to support ORS as of version 5 in the next release (via #215), not bothering with backward compatibility with the ORS 4.* series. So I'd be inclined to keep the hard-coded Then we can focus on the remote service part (based on ORS or OSRM), which would include adding a parameter for an API key, while removing or changing parts of the URL as required. What do you think? |
Sounds great @jcoupey! Thanks for running such an open and collaborative project! |
OK, so closing here as it's probably clearer to have a dedicated ticket for the API key part. @nilsnolde feel free to open one if you have time, I'll flag it for the v1.5 milestone. |
We face the problem, that ORS provides different slugs for the Matrix endpoint before the endpoint name, depending on the service provider: no slug for hosted,
/openrouteservice-5.0/
for local server,/ors/
for Docker container. Admittedly, that's not ideal.However, the same problem applies to OSRM, in case one would like to use
vroom
with Mapbox OSRM matrix endpoint, which uses/directions-matrix/
instead of/table/
.What do you think about :
or
Or maybe you have a better idea?
EDIT:
hmm, to be fully flexible one would also need to be able to set query parameters for API keys. Is that even smth you'd want or that you see within the scope of vroom?
The text was updated successfully, but these errors were encountered: