Driving distance only returns valid nodes.<div>The edge column is there to make the output look the same as the other functions ... we can discuss this is a good idea or not.</div><div>Sorry for the confusion. Maybe this should be written somewhere more clearly.</div>
<div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">2011/3/23 Sandor Csaba <span dir="ltr"><<a href="mailto:sandor.csaba@viamap.hu">sandor.csaba@viamap.hu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi List,<br>
<br>
I'm trying to figure out how the driving_distance function works.<br>
<br>
Here's my sql:<br>
<br>
SELECT * FROM driving_distance('SELECT id::int4,f_junc::int4 AS<br>
source,t_junc::int4 AS<br>
target,ST_Length(ST_Transform(the_geom,23700))::float8 AS cost FROM<br>
omsz_network',3094421,22500,false,false);<br>
<br>
The nodes in the given distance are returned correctly, but in case of<br>
edges some of them are returned, some other not.<br>
<br>
See attached image:<br>
Red dot is the starting point,<br>
black dots are nodes returned by the function.<br>
Red lines are the edges returned.<br>
Blue lines are all the street network.<br>
<br>
What am I doing wrong that not all the edges are returned in the<br>
driving distance?<br>
<br>
Thank you,<br>
Csaba<br>
<br>
--<br>
Sándor Csaba<br>
szolgáltatási vezető<br>
ViaMap Kft.<br>
Székhely/postacím: 1132 Budapest, Váci út 60-62.<br>
<br>
Iroda:<br>
1076 Budapest, Garay u. 29-31. I. 1.<br>
(EMLA Környezeti Management és Jog Egyesület)<br>
<br>
<br>
Tel: +3630/9605853<br>
Fax: +3617002542<br>
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & 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>
</div>