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

Unable to use routing.openstreetmap.de #47

Open
frodrigo opened this issue Oct 6, 2020 · 1 comment
Open

Unable to use routing.openstreetmap.de #47

frodrigo opened this issue Oct 6, 2020 · 1 comment

Comments

@frodrigo
Copy link
Contributor

frodrigo commented Oct 6, 2020

The internal dealing with URL make routing.openstreetmap.de unable to use.

MyConfig = osrm.RequestConfig("routing.openstreetmap.de/routed-foot/route/v1/driving")

But try to access to /route/v1/driving/polyline.

import osrm

MyConfig = osrm.RequestConfig("routing.openstreetmap.de/routed-foot/route/v1/driving")
result = osrm.simple_route([-3.7692, 40.4313], [-3.7420, 40.4183], url_config=MyConfig)
@bingblackbean
Copy link

MyConfig = osrm.RequestConfig("router.project-osrm.org/route/v1/driving") #https://router.project-osrm.org/route/v1/driving/ result = osrm.simple_route([-3.7692, 40.4313], [-3.7420, 40.4183], url_config=MyConfig)

this works for me

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

No branches or pull requests

2 participants