[GraphHopper] A method to handle barrier in junctions
Peter
graphhopper at gmx.de
Sat Sep 5 07:01:00 UTC 2015
Hi ZhiQiang,
thanks for this! You mean probably this issue:
https://github.com/graphhopper/graphhopper/issues/388
It is actually a bug in the tagging as the intended splitting was never
made for this as the OSM tagging for a barrier should happen on the way
not on the node. But see the full discussion there and maybe comment
your idea there.
Regards,
Peter
On 05.09.2015 00:19, John Zhao wrote:
> 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*
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150905/b698cbd2/attachment.html>
More information about the GraphHopper
mailing list