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

Reply via email to