<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yasir, to be clear, you can use any information you have available to you to use as the weight/cost for each segment, and things like posted speed and road length, number of lanes, traffic conditions, etc are typically used to affect the cost. <div><br></div><div>But if for example you had geo data on Dunkin Donuts stores and you used this to give segments with Dunkin Donuts stores a lower "cost", you'd find your trips across the US taking you through the New England states :)<div><br></div><div>hth</div><div>charles</div><div><br><div><div>On Jul 20, 2010, at 11:37 PM, Yasir Shoaib wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Hello Dan,<br><br>I took a look at the data you sent and the solution appears to be the use<br>weighted costs (pp. 19-20):<br><a href="http://www.osgeo.jp/wordpress/wp-content/uploads/2009/11/workshop_manual.pdf">http://www.osgeo.jp/wordpress/wp-content/uploads/2009/11/workshop_manual.pdf</a><br>Daniel, himself was the presenter.<br><br>Furthermore, reply from Daniel to my post does mention the same point<br>regarding the difference in results from Google Maps:<br><blockquote type="cite">...You could for example define some speed for your road classes, and if<br></blockquote>the speed is higher on highways it will prefer the highway like Google Maps<br><blockquote type="cite">does.<br></blockquote><br>Will look into this further if you think otherwise.<br><br>Thanks,<br>Yasir</span></blockquote></div><br></div></div></body></html>