[pgrouting-users] Multiple Turn Restrictions?

Anton Patrushev anton at orkney.co.jp
Sun Aug 17 21:50:32 EDT 2008


Yes, edge-based Shooting* algorithm supports turn restrictions.
And multiple turn restrictions as well.

In your case you need to specify three restriction - from edge EB to
edge BA, from DB to BC and from CD to BE.
All restriction should be assigned for target edges (BA, BC, BE).

You can find some docs here - http://pgrouting.postlbs.org/wiki/ShootingStar
Also, David Techer made very nice tutorial -
http://www.davidgis.fr/blog/index.php?2008/07/24/349-shooting-star-usage-example-with-turn-restriction

Anton.

On Sat, Aug 16, 2008 at 6:48 AM, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> Hi all,
>
> I'm finally getting around to loading up some data and working
> pgRouting. So far it is working very nicely.
>
>
> Does pgRouting 1.02 support multiple turn restrictions. For example a
> common intersection use cases is:
>
>
>
>       D
>       |
>       |
> A-----B-----C
>       |
>       |
>       E
>
> WHere A-B-C is a major road which might be divided but represented as a
> single track in the data and D-B-E is a smaller side street. At node B
> you would have multiple restrictions like:
>
> E-B-A and D-B-C and A-B-D and C-B-E are not allowed because the cross
> over an oncoming lane of traffic.
>
> The existing document seems to imply that you can only have a single
> turn restriction?
>
> How can I do this?
>
> Thanks,
>   -Steve
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.postlbs.org
> http://lists.postlbs.org/mailman/listinfo/pgrouting-users
>



More information about the Pgrouting-users mailing list