Shortest path search for real road networks and dynamic costs with pgRouting

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    Shortest path search for real road networks and dynamic costs with pgRouting - Presentation Transcript

    1. Shortest path search for real road networks Anton Patrushev Orkney, Inc.
    2. Real road networks How do they look like?
    3. Like this...
    4. ...or like this...
    5. ...or sometimes like this.
    6. They have some features: traffic lights signs road marking
    7. How pgRouting can help here?
    8. gid, source, target, source cost, reverse_cost, x1, y1, x2, y2, rule, to_cost target
    9. Traffic lights make you slower. It means we should increase costs.
    10. B C 1min A D cost(A)=cost(A)+30sec cost(B)=cost(B)+30sec cost(C)=cost(C)+30sec cost(D)=cost(D)+30sec
    11. Signs tell you about restrictions and road types.
    12. cost(A)=length(A) reverse_cost(A)=∞ A
    13. cost(A)=length(A)/2 reverse_cost(A)=length(A)*2 cost(B)=length(B)*3 reverse_cost(B)=length(B)/3 B A
    14. Turn restrictions obviously restrict turns.
    15. B C 1min A D cost(A)=cost(A)+1min cost(B)=cost(B)+1min rule(A)=\"D\" cost(C)=cost(C)+1min to_cost(A, D)=∞ cost(D)=cost(D)+1min
    16. Road types can be used for cost calculation.
    17. Not only types, but also conditions.
    18. What about road marking?
    19. It also tells you about direction,
    20. ...road type...
    21. ... and restrictions. C A D B E rule(D)=\"A, B\" to_cost(D)=∞
    22. And not only that!
    23. pgRouting cares about dynamic cost. Which is opposite to precalculated.
    24. If the road is closed, ...
    25. ... there is an accident, ...
    26. ... a sign with restriction limited in time, ...
    27. ... bad weather conditions, ...
    28. ... or any other obstacle, ...
    29. You don't need to reload or rebuild your network...
    30. ... and wait forever.
    31. You only need to adjust the cost for affected roads. And next search will go another way.
    32. Cost can be virtually anything.
    33. pgRouting can be used for other kinds of networks.
    34. Channel or river networks, ...
    35. ... hiking trail networks, ...
    36. ... or any other kind of network.
    37. Now it's showtime!
    38. pgRouting was started by and continued by
    39. Thanks to sxc.hu for being the best free photo stock. Thanks to people who put their photos to flickr under Creative Commons license.
    40. Just want you to remember pgrouting.postlbs.org
    SlideShare Zeitgeist 2009

    + antonpaantonpa Nominate

    custom

    1265 views, 4 favs, 2 embeds more stats

    This presentation will show the inside and current more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1265
      • 1258 on SlideShare
      • 7 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 93
    Most viewed embeds
    • 6 views on http://blog.xiangjian.info
    • 1 views on http://feeds.feedburner.com

    more

    All embeds
    • 6 views on http://blog.xiangjian.info
    • 1 views on http://feeds.feedburner.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories