<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Thank you Steve.I understand the use of costs because i learn with arcgis in university. In knows days i introduce the open source software in my business.<div>I am new with pg routing and i am modelling accessibility. I only like to know if exists more information or examples about costs with pg routing.</div><div>Thanks for your explanation.</div><div><br></div><div><br><span style="font-size:87%">Pedro Costa<br>Enviado do meu Android</span> </div></body></html><br><br>
Stephen Woodbridge <woodbri@swoodbridge.com> escreveu:
<br><br><body><div style="word-break:break-all;">On 3/16/2012 8:12 AM, Pedro Costa wrote:<br>> Hello list,<br>><br>> Does anybody know tutorial or more detailed information about the use of<br>> weighted costs?<br>> I only know that:<br>> http://workshop.pgrouting.org/chapters/advanced.html<br><br>Cost is just a positive value (negative edge cost are not allow). You <br>can use distance as a cost, or time as a cost, or turn angle as a cost, <br>or anything you want that makes sense for what you are modelling. The <br>issues is what are you modelling and and what do you want to take into <br>account and can you model that factor as a cost or a component of the cost.<br><br>For example, you could convert all costs into some increase number of <br>seconds to traverse from node A to node B. then you could model the <br>distance and average speed as time. If you had an attribute at a node <br>the indicated a traffic light or stop sign, you could add some <br>additional average wait time to the edges passing through that node. If <br>you had an attribute say the road had lots of potholes, you could assume <br>some lower average speed, etc.<br><br>You have to transform the things you are modelling into some unit or <br>unitless value as a cost.<br><br>-Steve W<br>_______________________________________________<br>Pgrouting-users mailing list<br>Pgrouting-users@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/pgrouting-users<br></div> </body>