# data (#23) - Increase the cost of all turns (#188) - Message List

Increase the cost of all turns

Hi there,

Is there a relatively straightforward way to model that ALL right and left turns have a higher cost than going straight? You could do this by using turn restrictions as part of the shooting star algorithm, but it would require a huge amount of data for such a straightforward rule.

On the other hand, it's not as if pgRouting has "geometric intelligence" to figure out where the turns are. So I'm curious to see if anyone has come up with a clever way of generating the necessary shooting star data or working around this somehow.

Thanks, Jordan

ja3n

11/25/08 03:28:50 (2 years ago)