Re: [OSRM-talk] Limit particular points in a route at runtime

2018-03-28 Thread Daniel Patterson
Hi François, There are basically 3 ways to go about this: 1. If you only have toll-booth nodes, then you can cheat and use the `result.traffic_lights = true` flag on those nodes, and adjust the traffic light penalty. This isn't perfect though, you'll probably want to remove traffic light

Re: [OSRM-talk] Limit particular points in a route at runtime

2018-03-28 Thread François Lacombe
Thank you for this input, Understood the lack of dynamic costing in OSRM. I'll adapat my profile Would it be preferable to lower the rate or the speed of specific way I want to limit ? Maybe both ? I'm not sure to be able to set a rate on a given node isn't it ? This have to be necessarily

Re: [OSRM-talk] Limit particular points in a route at runtime

2018-03-28 Thread Daniel Patterson
Hey François, The only way to achieve this with OSRM would be to apply large penalties to barriers/tolls. You'll have to pick a penalty value that's *just right* - enough that 0 or 1 will be acceptable, but 2 would force the engine to find another route. Because OSRM doesn't have dynamic