
8 Jul
2020
8 Jul
'20
7:57 p.m.
Hi
the current code in NodCheck (NodFile.java) stops reading route nodes when if (low == 0 && flags == 0) return null;
Yes your right that check is not needed, because we know the correct size of the section.
Sorry this is wrong; we know the size of the section but the entries are variable size and there has to be a way to know when we have found the last one. I think that flags==0 is the marker. Have you seen any Garmin map with flags==0? It seems to me that a node is either on the boundary or has arcs, or else it is not a routing node. Steve