-
Notifications
You must be signed in to change notification settings - Fork 55
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
Updating OSRM routing #24
Comments
You can specify alternative routing engines via a configuration file ~/.viking/routing.xml
However you I don't think there's a way to run your program between Viking's request and the processing of the response, other than replacing the GPSBabel binary with your program I note the latest (only in the source code git repository - so not in a release yet) GPSBabel now has capability to read GeoJSON, so you may be better off investigating that. PS The last time I looked at OSRM I thought it returned it's own bespoke JSON schema, not GeoJSON, but I could be wrong. HTH |
Thanks for the response! I tried GPSBabel 1.5.4 and I only get an empty GPX shell. While I was fiddling with the OSRM call, I did notice that the resulting JSON varies significantly depending on the parameters you pass, so it may not be pure GeoJSON. Thanks again. |
Hi,
I've put together a Python script to query OSRM and then produce a GPX out of the GeoJSON ( who uses GeoJSON??) response.
I see that in the Viking preferences there is a dropdown to select a routing engine but only the default OSRM is available as a choice. Is there a way for me to add a new routing service?
The text was updated successfully, but these errors were encountered: