<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<br>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
Should we throw an exception if this happens to find it out or
should we remove this counter?<br>
<br>
Regards,<br>
Peter<br>
<br>
<div class="moz-cite-prefix">On 22.07.2015 01:11, John Zhao wrote:<br>
</div>
<blockquote
cite="mid:CA+EBg9QWhAT-ZEYm5oHh-9u7od+pD+VZQOxaGot_urk7MLjqKg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I look there is logic in <span
style="color:rgb(0,0,0);font-family:Menlo;font-size:12pt;background-color:rgb(228,228,255)">PrepareRoutingSubnetworks.</span><span
style="color:rgb(0,0,0);font-family:Menlo;font-size:12pt;background-color:rgb(228,228,255)">removeZeroDegreeNodes()</span></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px"><br>
</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px">I have tried a small area, like San
Francisco.</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px">And this is zero in the log.</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px">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)</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px"><br>
</span></font></div>
<div><span
style="font-size:16px;color:rgb(0,0,0);font-family:Menlo">I
remember, generally, a pillar node should have degree 2 at
least. (despite the dead end with degree 1.)</span><br>
</div>
<div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px">How it could be zero degree nodes
in the graph?</span></font></div>
</div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px"><br>
</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px">Can you give me an example?</span></font></div>
<div><font color="#000000" face="Menlo"><span
style="font-size:16px"><br>
</span></font>
<div>
<div class="gmail_signature"><b>Best Regards,</b>
<div><b>ZhiQiang ZHAO</b></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>