[mkgmap-dev] Crash in NodCheck
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Jul 8 21:35:51 BST 2020
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 <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steve Ratcliffe <steve at parabola.me.uk> Gesendet: Mittwoch, 8. Juli 2020 21:57 An: mkgmap-dev at lists.mkgmap.org.uk 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 mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Crash in NodCheck
- Next message: [mkgmap-dev] Crash in NodCheck
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list