I remember trying -1 values and having to revert back to using a high cost (such as 99999999). I can't remember why -1 didn't work out, but using the high cost has worked well for me.<br><br><div class="gmail_quote">
On Mon, Jun 11, 2012 at 10:32 AM, Pedro Costa <span dir="ltr"><<a href="mailto:pedrocostaarma@sapo.pt" target="_blank">pedrocostaarma@sapo.pt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
<br>
I'm working with pgrouting and costs. When i want that one road can not be used i give it a very high cost. But my question is, there is a value that makes the pgrouting not consider this alternative? Like '-1'?<br>
Because if this option is the only, does not mattercost, that this road will be selected.<br>
<br>
Anyone knows more examples about costs with pgrouting?<br>
<br>
Thanks<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Horn<br><br>