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 t

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 relati

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 cos

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

2018-03-28 Thread François Lacombe
Hi all, Another question I have while I continue to build a routing system dedicated to industrial networks in parallel of roads we get from osm. I'd be interested to get osrm result with a limited amount of particular ways or nodes in the route. Something like "Get me from A to B with only 0 or

Re: [OSRM-talk] OSRM 5.14.3 set kilometers long ways as small elements

2018-03-28 Thread François Lacombe
Hi Daniel, Basically, as I understand things, I should aim to reduce my "small elements" as to make them accessible from Tarjan SCC snapping. It would probably make orsm-routed less fast to answer is you change your snapping algorithm, while I'd love you move toward this :) All the best Françoi