[pgrouting-users] very hight costs

Steve Horn steve at stevehorn.cc
Mon Jun 11 07:38:07 PDT 2012


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.

On Mon, Jun 11, 2012 at 10:32 AM, Pedro Costa <pedrocostaarma at sapo.pt>wrote:

> Hello,
>
>
> 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'?
> Because if this option is the only, does not mattercost, that this road
> will be selected.
>
> Anyone knows more examples about costs with pgrouting?
>
> Thanks
> ______________________________**_________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.**org <Pgrouting-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/pgrouting-**users<http://lists.osgeo.org/mailman/listinfo/pgrouting-users>
>



-- 
Steve Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20120611/b72922b9/attachment.html>


More information about the Pgrouting-users mailing list