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
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to