<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div><div><br></div></div><div>Sorry, I was wrong ... it&#39;s the right function you&#39;re using. Somehow read driving directions somewhere before.</div><div>Driving directions does what you need, except that it returns you a list of vertices you can reach and the edges column doesn&#39;t return anything useful.</div>





<div><br></div><div>This custom wrapper function takes the vertices and calculates a polygon that contains all of them:</div><div><a href="https://github.com/pgRouting/pgrouting/blob/master/extra/driving_distance/sql/routing_dd_wrappers.sql#L78" target="_blank">https://github.com/pgRouting/pgrouting/blob/master/extra/driving_distance/sql/routing_dd_wrappers.sql#L78</a></div>



</div></blockquote><div><br></div></div></div><div>Yes this creates a polygon consisting all vertices but I want to display a road network that show how to go from source to outlying vertices. Actually I think driving distance&#39;s edge info should give that info since it calculates a distance from source. If that function know how distant is the vertice it should know the path am I wrong on this ? </div>



<div><br></div><div>As I wrote, calculating shortest path for each vertex from source does not seem feasible. Can we make driving distance to show edge info ? I am willing to conribute in that sense but I don&#39;t want to redo what is done before. </div>



<div> </div></div></blockquote><div><br></div><div>Driving Distance function uses Dijkstra algorithm:</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/pgRouting/pgrouting/blob/master/extra/driving_distance/src/drivedist.c#L341">https://github.com/pgRouting/pgrouting/blob/master/extra/driving_distance/src/drivedist.c#L341</a></div>

<div>Dijkstra only goes from vertex to vertex.</div><div><br></div><div>@Anton: do you have some hint?</div><div><br></div><div>Daniel</div><div> </div></div><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG &amp; Georepublic Japan<br>

eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>