<pre>Hello Dan,<br><br>Sure, you can send me the data as well.<br><br>Thanks,<br>Yasir<br><br>&gt;<i> Hi Daniel,<br></i>&gt;<i><br></i>&gt;<i> To follow on Yasir&#39;s comments in terms of routing results, I&#39;ve been<br>
</i>&gt;<i> working with a simple example data set where the distance and travel time<br></i>&gt;<i> results are likely to be different (really there are several equally good<br></i>&gt;<i> routes based on distance, but a unique route based on travel time, but with<br>
</i>&gt;<i> the &quot;length&quot; field in the database reflecting travel time along an edge).<br></i>&gt;<i> When doing the routing based on travel time I get the correct solution using<br></i>&gt;<i> the Dijkstra algorithm, but an incorrect result using the A* and Shooting<br>
</i>&gt;<i> Star algorithms. The nature of the errors I&#39;m getting would be consistent<br></i>&gt;<i> with what Yasir is finding. I&#39;d be glad to send you both the network data<br></i>&gt;<i> and my test queries. I&#39;m running on 64bit Ubuntu 10.04 using the Ubuntu<br>
</i>&gt;<i> repository version of PostgreSQL (8.4.4), PostGIS 1.5.1, and built pgRouting<br></i>&gt;<i> from the subversion repository on Tuesday.<br></i>&gt;<i><br></i>&gt;<i> Dan<br></i>&gt;<i><br></i>&gt;<i> --- On Fri, 7/16/10, Daniel Kastl &lt;<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">daniel.kastl at georepublic.de</a>&gt; wrote:<br>
</i>&gt;<i><br></i>&gt;<i> From: Daniel Kastl &lt;<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">daniel.kastl at georepublic.de</a>&gt;<br></i>&gt;<i> Subject: Re: [pgrouting-users] Shortest Route Search Not Working<br>
</i>&gt;<i> To: <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">pgrouting-users at lists.osgeo.org</a><br></i>&gt;<i> Received: Friday, July 16, 2010, 9:58 PM<br></i>&gt;<i><br></i>&gt;<i>  I hope you don&#39;t mind helping me with another couple short questions:<br>
</i>&gt;<i> 1. Projection 4326 with latlng is lot easier for me to work with. Although<br></i>&gt;<i> there are ways to convert the latlng to<br></i>&gt;<i>  900913 projection, I was wondering how would I be able to directly use<br>
</i>&gt;<i> 4326 and run search on it (HTML changes), assuming that the tiles were<br></i>&gt;<i> generated with 900913 projection and the routing database is set to 4326?<br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> You can use Postgis &quot;transform()&quot; function to do this:<br>
</i>&gt;<i> <a href="http://postgis.refractions.net/docs/ST_Transform.html">http://postgis.refractions.net/docs/ST_Transform.html</a><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> 2. Just out of curiosity.<br>
</i>&gt;<i> The routing results usually take residential route ways, instead of taking<br></i>&gt;<i> instead of taking highway streets (which is more like what results from<br></i>&gt;<i> Google Maps show). Any ideas why the difference?<br>
</i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> pgRouting gives you the &quot;shortest&quot; path and it&#39;s up to you to define what<br></i>&gt;<i> is &quot;shortest&quot;. Easiest is to take length as cost, but if you take time as<br>
</i>&gt;<i> cost, then shortest will be the fastest. You could for example define some<br></i>&gt;<i> speed for your road classes, and if the speed is higher on highways it will<br></i>&gt;<i> prefer the highway like Google Maps does.<br>
</i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> Daniel<br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> Thanks<br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> _______________________________________________<br></i>&gt;<i><br></i>&gt;<i> Pgrouting-users mailing list<br>
</i>&gt;<i><br></i>&gt;<i> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">Pgrouting-users at lists.osgeo.org</a><br></i>&gt;<i><br></i>&gt;<i> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
</i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> -----Inline Attachment Follows-----<br></i>&gt;<i><br></i>&gt;<i> _______________________________________________<br></i>&gt;<i> Pgrouting-users mailing list<br>
</i>&gt;<i> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">Pgrouting-users at lists.osgeo.org</a><br></i>&gt;<i> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
</i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i><br></i>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20100718/4af3192b/attachment.html">http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20100718/4af3192b/attachment.html</a><br>
</pre>