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
We just merged a larger change into OSRM that's going to support mode indication, e.g. it's going to announce when you have take a ferry with the car or perhaps a shuttle train.
The last entry in the instruction array indicate the mode by ID.
"route_instructions": [
[
"10",
"Kemberger Straße",
418,
0,
41,
"418m",
"SW",
217,
1<--- this guy
],...
For car directions, we have:
1 drive (99.9% of the time)
2 ferry
3 shuttle train
Up to 16 modes per profile are supported and 15 are available to the user. Mode 0 is used internally to indicate that a (direction of a) road is impassable.
@DennisOSRM Thanks for the info. So (except for 0), the meanings of the modes are completely determined by the profile, e.g. a cycling profile could have 1 = cyling, 2 = walk your bike, 3 = ferry?
We just merged a larger change into OSRM that's going to support mode indication, e.g. it's going to announce when you have take a ferry with the car or perhaps a shuttle train.
The last entry in the instruction array indicate the mode by ID.
For car directions, we have:
Up to 16 modes per profile are supported and 15 are available to the user. Mode 0 is used internally to indicate that a (direction of a) road is impassable.
cc: @jfirebaugh
The text was updated successfully, but these errors were encountered: