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

François Lacombe fl.infosreseaux at gmail.com
Wed Mar 28 16:13:38 UTC 2018


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 relative to rest of my graph

All the best

Francois

*François Lacombe*

fl dot infosreseaux At gmail dot com
www.infos-reseaux.com
@InfosReseaux <http://www.twitter.com/InfosReseaux>

2018-03-28 17:59 GMT+02:00 Daniel Patterson <daniel at mapbox.com>:

> 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 costing options, you can't do
> something like "penalize the first toll with 0, penalize the second toll
> with 1000" - for that, you'd need to be able to run a more customizable
> routing algorithm.
>
>   We have muttered about implementing A* on the edge-based-graph which
> would make this possible, but so far, nobody has put the time in to
> implement it.
>
> daniel
>
> On Wed, Mar 28, 2018 at 8:31 AM, François Lacombe <
> fl.infosreseaux at gmail.com> wrote:
>
>> 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 1 toll barrier on the
>> route", is this possible ?
>>
>> I know the exclude URL parameter to exclude some pre-processed classes of
>> object, but don't know if we can actually limit them.
>>
>> Thanks in advance for any hint, all the best
>>
>> François
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20180328/b2153a8a/attachment-0001.html>


More information about the OSRM-talk mailing list