[Cartoweb-users] Please help me. I need ur help. (PgdijkstraRouting Module)

Oliver Christen oliver.christen at camptocamp.com
Mon Apr 21 03:18:37 EDT 2008


I would say duplicate the node where such situation occure and retouche the segment's node references, which would give you: A-O-C and B-O2-D

maybe there is a smartest way to do this, you should ask on the pgrouting forum ,there are lot of more experimented people there

regards
Oliver
  ----- Original Message ----- 
  From: Madura Weerasinghe 
  To: Oliver Christen 
  Sent: Monday, April 21, 2008 8:52 AM
  Subject: Re: [Cartoweb-users] Please help me. I need ur help. (PgdijkstraRouting Module)


  Hi

  Thank u very much for ur help. But actually it's not the thing that I wanted. I'll explain it using an example.

                              B
                              |
                              |
                              |
                              |
  A ------------------ O ----------------C
                              |
                              |
                              |
                              |
                              D

  For exmple just think that we can travel from B to D (across O), but can't from A to D (no right turn AOD). So at that time the road segment OD is neither one way nor closed. So this situation can't be handled simply by making a road segment either one way or closed. So I want a solution to control this situation. Please help me.

  Thank you in advance.

  Regards
  Madura



  ----- Original Message ----
  From: Oliver Christen <oliver.christen at camptocamp.com>
  To: Madura Weerasinghe <maduramw at yahoo.com>; cartoweb-users at lists.maptools.org
  Sent: Monday, April 21, 2008 11:59:00 AM
  Subject: Re: [Cartoweb-users] Please help me. I need ur help. (PgdijkstraRouting Module)


  Hi

  this case is explained on the pgrouting website http://pgrouting.postlbs.org/wiki/OneWayStreets
  it should be valid for pgdijkstra 

  regards
  Oliver
    ----- Original Message ----- 
    From: Madura Weerasinghe 
    To: cartoweb-users at lists.maptools.org 
    Sent: Sunday, April 20, 2008 9:46 AM
    Subject: [Cartoweb-users] Please help me. I need ur help. (PgdijkstraRouting Module)


    Hi,

    Im developing an online traffic information system using Pgdijkstra Routing Module. Everything works, fine. But need a small help. In Pgdijkstra Routing Module, when the shortest path is selected it assumes that it can travel any direction at any junction. (say it is reaching the junction then it can travel to all other directions). But we know that in real life, sometimes it is controlled and it can't travel to all the directions. (some directions are not possiple). I think u got my point. (this is not making a road segment oneway or closed. It's possible to be done). So I don't know how to implement that. (controlling the directions which it can travel). If you can please help me.

    Thank you in advance.

    Madura


----------------------------------------------------------------------------
    Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 


    _______________________________________________
    Cartoweb-users mailing list
    Cartoweb-users at lists.maptools.org
    http://lists.maptools.org/mailman/listinfo/cartoweb-users





------------------------------------------------------------------------------
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080421/c7a5a249/attachment.html


More information about the Cartoweb-users mailing list