pgRouting

Ticket #124 (new feature request)

Opened 3 months ago

Improve Support for Multiple Turn Restrictions

Reported by: woodbri Assigned to: somebody
Priority: major Milestone: Version 1.1
Component: Shooting* Version: 1.1
Keywords: Cc:

Description

The current methodology for defining turn restrictions basically limits you to one restriction per record using the rule column. If you want to add multiple restrictions for a given edge you have to duplication the edge for each additional restriction and then add a single restriction to each new edge. This also requires that you then order by gid to group the restrictions together when you fetch the edges.

A better methodology is needed for describing this restrictions. For example, rule could be:

rule 1           rule 2          rule N
--------------   --------------  ...
<edge>[,<edge>][;<edge>[,<edge>]]*

this would allow any of the following rows

4
14,4
4;12
14,4;12
etc