[postgis-users] PgRouting in PostGIS
Stephen Woodbridge
woodbri at swoodbridge.com
Tue Sep 23 16:22:29 PDT 2008
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
More information about the postgis-users
mailing list