python-osrm icon indicating copy to clipboard operation
python-osrm copied to clipboard

Unable to use routing.openstreetmap.de

Open frodrigo opened this issue 4 years ago • 1 comments

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)

frodrigo avatar Oct 06 '20 15:10 frodrigo

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

bingblackbean avatar Jul 01 '21 11:07 bingblackbean