Hi Maria.<br><br>If you need multiple restrictions for a given edge then you have to add 
multiple records for that edge each with a separate restriction<br><br><a href="http://pgrouting.postlbs.org/wiki/ShootingStar">http://pgrouting.postlbs.org/wiki/ShootingStar</a><br><br><br>Fred.<br><br><br><br><br><br><div class="gmail_quote">
On Tue, May 4, 2010 at 10:14 AM, Maria Arias de Reyna <span dir="ltr"><<a href="mailto:marias@emergya.es">marias@emergya.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to do a shooting_star calculation following this example:<br>
<a href="http://www.davidgis.fr/blog/index.php?2008/07/24/349-shooting-star-usage-example-with-turn-restriction" target="_blank">http://www.davidgis.fr/blog/index.php?2008/07/24/349-shooting-star-usage-example-with-turn-restriction</a><br>

<br>
But I think that it has a bug when reading the rule. If I try to set more than<br>
one restriction on a rule, like<br>
<br>
update routing set to_cost = 1000000,rule='9,5' where id = 6;<br>
<br>
it only works for the first edge defined on rule (9), not the second edge (5).<br>
<br>
Am I doing something wrong or is it a bug?<br>
<br>
If I invert the rule:<br>
<br>
update routing set to_cost = 1000000,rule='5,9' where id = 6;<br>
<br>
it works well for the first edge again (5), but not for the second (9).<br>
<br>
--<br>
María Arias de Reyna Domínguez<br>
Área de Operaciones<br>
<br>
Emergya Consultoría<br>
Tfno: +34 954 51 75 77 / +34 607 43 74 27<br>
Fax: +34 954 51 64 73<br>
<a href="http://www.emergya.es" target="_blank">www.emergya.es</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>