<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hello,.</div><div><br></div><div>&nbsp;Pgrouting can find one isoline, this is the result of driving_distance. This gives number of points, if you connect them you'll get isoline. If you need many isolines, then you should call it many times, like for 5,10,20 minutes, for same point(s) etc. It is sub-optimal this way also, but it is fast, below second for single iteration, and for most uses sufficient.</div><div><br></div><div>&nbsp;My recent test with it (isolines from certain point in certain distances, in KML format):&nbsp;<a href="http://maps.google.com/?q=http://46.51.131.48/dd/index.php?lat=59.43475&amp;lon=24.74786&amp;dist=1,2,3,4,5">http://maps.google.com/?q=http://46.51.131.48/dd/index.php?lat=59.43475%26lon=24.74786%26dist=1,2,3,4,5</a></div><div><br></div><div>&nbsp;Or maybe I misunderstood what exactly do you mean by isoline here?</div><div><br></div><div>Jaak</div><div><br></div><br><div><div>On 07.06.2011, at 19:00, <a href="mailto:pgrouting-users-request@lists.osgeo.org">pgrouting-users-request@lists.osgeo.org</a> wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>Message: 1<br>Date: Tue, 07 Jun 2011 12:37:09 +0200<br>From: Mayeul KAUFFMANN &lt;<a href="mailto:mayeul.kauffmann@jrc.ec.europa.eu">mayeul.kauffmann@jrc.ec.europa.eu</a>&gt;<br>Subject: [pgrouting-users] improve performance of isoline computation<br>To: <a href="mailto:pgrouting-users@lists.osgeo.org">pgrouting-users@lists.osgeo.org</a><br>Message-ID: &lt;1307443029.10348.130.camel@ISFLXMK2&gt;<br>Content-Type: text/plain; CHARSET=US-ASCII<br><br>Hi,<br><br>1. I've seen at <a href="http://www.pgrouting.org/">http://www.pgrouting.org/</a> that "pgRouting provides<br>functions for [...] Driving Distance calculation (Isolines)".<br>But I could not find any documentation on this (or I misunderstood<br>"isolines")<br><br>In the past I have been doing this using pgrouting with this iterative<br>algorithm (written in bash and allowing parallelism) which is quite<br>costly:<br>To compute isoline with departure from A, compute travel time between A<br>and any point of the network.<br><br>This is quite similar to this:<br><a href="http://underdark.wordpress.com/2011/02/09/creating-catchment-areas-with-pgrouting-and-qgis/">http://underdark.wordpress.com/2011/02/09/creating-catchment-areas-with-pgrouting-and-qgis/</a><br><br>http://underdark.wordpress.com/2011/05/13/catchment-areas-with-pgrouting-driving_distance/<br><br><br>This is costly because some parts of the network get traversed many time<br>by the algorithm. If point B is between A and C, then once you have<br>computed the cost from A to B, you can use this piece of information to<br>find the shortest path from A to C.<br><br><br><br>I searched for documentation here:<br>http://www.pgrouting.org/docs/foss4g2010/index.html<br><br>Searching on Google:<br>site:lists.osgeo.org/pipermail/pgrouting-users/ isolines<br>site:lists.osgeo.org/pipermail/pgrouting-dev/ isolines<br>gave no result either<br><br><br>Are there any other solution to the isoline problem that I'm not aware?<br><br>2. Finally, my ultimate goal is as follows:<br>given a set of many departure points d1 to d1000, for each of them, find<br>which of the arrival points (A, B, C, D, E) is the shortest one.<br><br>My idea would be to use the following approach, but modified:<br>http://underdark.wordpress.com/2011/05/13/catchment-areas-with-pgrouting-driving_distance/<br><br>with modification as follows: after finding the best path from d1 to A,<br>if this costs 100, you can search the best path from d1 to B stopping<br>the search when the cost is larger than 100.<br><br>Is any of the two above problems already implemented in compiled code,<br>or the best I can do is to write my own code based on shortest_path() or<br>driving_distance() ?<br><br>Thanks for any help!!<br>Mayeul<br><br><br>PS: for those who wonder: this is to study the impact of transportation<br>disturbance (in countries currently at war) on access to health<br>infrastructure, hence: how to go to the closest hospital.<br><br>-- <br>Dr. Mayeul KAUFFMANN, Conflict Specialist<br>European Commission, Joint Research Centre (JRC)<br>Institute for the Protection and Security of the Citizen (IPSC)<br>Global Security and Crisis Management - ISFEREA<br>Via E. Fermi 2749 - I-21027 Ispra (VA), ITALY<br>Phone: (+39) 033278 5071<br>http://isferea.jrc.ec.europa.eu/Staff/Pages/Kauffmann-Mayeul.aspx<br><br>(Office: building 26b, 1st floor, room 140. TP: 267)<br><br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>Pgrouting-users mailing list<br>Pgrouting-users@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/pgrouting-users<br><br><br>End of Pgrouting-users Digest, Vol 33, Issue 3<br>**********************************************<br></div></blockquote></div><br></body></html>