[OSRM-talk] Issue #483 - Adding multiple via nodes in restrictions

Helder Alves helderalvespt at gmail.com
Tue Dec 3 19:04:17 UTC 2013


Hi Steve,

Do you have any feedback on your questions?

Thanks.

--
Helder Alves
On Dec 2, 2013 8:49 PM, "Stephen Woodbridge" <woodbri at swoodbridge.com>
wrote:

> Hi Dennis,
>
> I know Issue #483 is a "future" enhancement, do you have any idea when
> this might be in the plans? I'm running into this problem trying to convert
> some 3rd party datasets into the normalized file structures.
>
> In pgrouting, we defined restrictions as:
>
> cost, to_node, via_nodeN, ..., via_node1, from_node
>
> Where we could either apply an additional cost to make the restricted turn
> or by setting the cost to -1 to forbid it all together.
>
> The way to understand this restriction definition is:
>
> If you are at to_node, and your parent node is via_nodeN and its parent is
> via_node... and its parent node is via_node1 and its parent node is
> from_node, then apply the cost or disallow the path. So we obviously apply
> these during in Dijkstra solver.
>
> Where are restriction implemented in osrm-prepare or osrm-routed or both?
>
> Thanks,
>   -Steve
>
> _______________________________________________
> 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/20131203/4aa3f76f/attachment.html>


More information about the OSRM-talk mailing list