[GraphHopper] A method to handle barrier in junctions

John Zhao johnthu at gmail.com
Fri Sep 4 22:19:59 UTC 2015


Hi Peter,

I remember you said there is a bug of Graphhoper on handle barrier on 3-way
junctions.
Only one way is blocked.

I figure out how to fix it.
It's very easy, just add more virtual nodes and virtual edges.

------------o------------
            |
            |

the final graph:
------------*- - -o- - -*------------
                  |

                  |
                  *
                  |
                  |

*Best Regards,*
*ZhiQiang ZHAO*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150904/58b2c1d1/attachment.html>


More information about the GraphHopper mailing list