Hi Steve, I found no node with low==0 and flag==0 in Garmin maps, but I think there are ones with flags==0. I have to double check but I think there are tiles in a demo map for Hungaria.
Gerd ________________________________________ Von: mkgmap-dev <[email protected]> im Auftrag von Steve Ratcliffe <[email protected]> Gesendet: Mittwoch, 8. Juli 2020 21:57 An: [email protected] Betreff: Re: [mkgmap-dev] Crash in NodCheck 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 _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
