[postgis-users] PgRouting in PostGIS

Anton Patrushev anton at orkney.co.jp
Tue Sep 23 16:37:21 PDT 2008


Hi,

Of course you can. You can put any float value as a cost. And if a
cost of an edge is high enough comparing to other costs, algorithm
will prefer not to pass through that edge.

Anton.

On 9/24/08, Nandorov <nandorov at gmail.com> wrote:
>
>  can i block some segments? for example cad gives the posibility to put a max
>  resistance value, let's say it's 100. So if the resistance of your segment
>  is 100 that segment is blocked and you cannot go thorught this way. if this
>  possible with pgrouting?
>
>  thanks!
>
>
>
>  Stephen Woodbridge wrote:
>  >
>  > Nandorov wrote:
>  >> hi,
>  >> i've tried pgrouting algorithms and works pretty well. However, i dont
>  >> know
>  >> exactly the way they applied "the resistance" of a way (represented by a
>  >> multilinestring). has someone worked  with pgrouting before? and know if
>  >> i
>  >> can modify their algorithms to adapt them to my requirements?
>  >>
>  >> thanks
>  >
>  > "the resistance" is applied as a "cost" to traverse the segment. All
>  > cost must be positive. You can use length of the segment as cost for
>  > shortest distance. or you can compute and assign a cost value based on
>  > other attributes.
>  >
>  > -Steve
>  > _______________________________________________
>  > postgis-users mailing list
>  > postgis-users at postgis.refractions.net
>  > http://postgis.refractions.net/mailman/listinfo/postgis-users
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/PgRouting-in-PostGIS-tp19638201p19638473.html
>
> Sent from the PostGIS - User mailing list archive at Nabble.com.
>
>  _______________________________________________
>
> postgis-users mailing list
>  postgis-users at postgis.refractions.net
>  http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list