[pgrouting-users] Function to result routes/costs from single_origin to multi-destinations

Daniel Kastl daniel at georepublic.de
Sun Nov 9 16:10:36 PST 2014


On Mon, Nov 10, 2014 at 3:42 AM, AUS - Eyad <b00038807 at aus.edu> wrote:

>  While applying the following tutorial:
> http://anitagraser.com/2011/02/09/creating-catchment-areas-with-pgrouting-and-qgis/
> utilizing vector network which has been tested (and demonstrated
> functionality) for shortest path application, it returned the following
> message:
>
Hi,

I think the tutorial was written before pgRouting 2.0 was released.
It may require some changes.



>
>
>  LAST COMMENT.. If you know another code/method that helps in
> multi-routing from one point to list of targets to result routes and costs
> from single-origin (source) to multi-destinations (targets), please provide
> guidance.. origins and destinations are in a single points feature (i.e.
> cvl_vertices_pgr), whereas routes calculation shall take place in lines
> feature (i.e. cvl).
>
>
>

If you need 1 -> n shortest path queries, then you could try pgr_kDijkstra:
http://docs.pgrouting.org/2.0/en/src/kdijkstra/doc/index.html#pgr-kdijkstra

Best regards,
Daniel



-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20141110/32946ddd/attachment.html>


More information about the Pgrouting-users mailing list