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

Show a step at each segment change

Open Shinrod opened this issue 1 year ago • 0 comments

Hello,

I see that you can edit the data used thanks to the lua profiles. Is it possible to generate a step at each segment change ?

I've tried tweaking the behavior of the car model, but no luck so far.

Example

https://map.project-osrm.org/?z=15&center=-41.384424%2C173.091359&loc=-41.394743%2C173.066211&loc=-41.378483%2C173.096380&hl=en&alt=0&srv=2 image

Here only 2 steps where generated while the road goes through 3 road segments. https://www.openstreetmap.org/query?lat=-41.38099&lon=173.08690#map=15/-41.38528/173.09861&layers=N image

Expected behavior: Show two more steps, one for each road change.

Shinrod avatar Oct 14 '24 09:10 Shinrod