[GraphHopper] how could be zero degree nodes?
Peter
graphhopper at gmx.de
Thu Jul 23 19:58:28 UTC 2015
Hmmh, good question. It does not happen for world wide and default
encoders. It could be that this happened in earlier import methods with
bugs.
Should we throw an exception if this happens to find it out or should we
remove this counter?
Regards,
Peter
On 22.07.2015 01:11, John Zhao wrote:
> Hi,
>
> I look there is logic in PrepareRoutingSubnetworks.removeZeroDegreeNodes()
>
> I have tried a small area, like San Francisco.
> And this is zero in the log.
> 14:51:55.340 [main] INFO c.g.r.util.PrepareRoutingSubnetworks -
> optimize to remove subnetworks (3500), zero-degree-nodes (0),
> unvisited-dead-end-nodes(730), maxEdges/node (7)
>
> I remember, generally, a pillar node should have degree 2 at least.
> (despite the dead end with degree 1.)
> How it could be zero degree nodes in the graph?
>
> Can you give me an example?
>
> *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/20150723/44830665/attachment.html>
More information about the GraphHopper
mailing list