[pgrouting-users] fastest path

Hi

Instead of shortest path I would like to use fastest path.

Can someone advice me about fastest path?

Asad

Hi Asad,

The fastest path is when your cost is the time to travel on a road segment.
You can take anything as cost.

Regards,
Daniel

On Sun, Dec 4, 2011 at 10:14 PM, Asad Syed <asad_ip@yahoo.com> wrote:

Hi

Instead of shortest path I would like to use fastest path.

Can someone advice me about fastest path?

Asad


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de

The shortest path algorithm just chooses the minimum value stored in the “cost” column, put there the value you want to be minimized, i.e. you want the greatest speed put the negative speed in that column.

2011/12/4 Asad Syed <asad_ip@yahoo.com>

Hi

Instead of shortest path I would like to use fastest path.

Can someone advice me about fastest path?

Asad


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users