You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can be modified as start_osrm_server(country, continent, **profile**) to accept one of {'foot', 'car', 'bicycle'} as does osrm_route(origin, destination, profile)
and then run the docker line pasting in the chosen profile
The text was updated successfully, but these errors were encountered:
bitsandbricks
changed the title
OSRM server always route using the "foot" profile
OSRM server always routes using the "foot" profile
Dec 12, 2020
Hi @bitsandbricks, Thanks for the issue, you're totally right. I will definitely work on this next week, feel free to collaborate (with a pr) if you want.
Because the foot profile is harcoded in line 78,
routing/routing.py
:maybe
start_osrm_server(country, continent)
can be modified as
start_osrm_server(country, continent, **profile**)
to accept one of {'foot', 'car', 'bicycle'} as does osrm_route(origin, destination, profile)and then run the docker line pasting in the chosen profile
The text was updated successfully, but these errors were encountered: