logo separator

[mkgmap-dev] Crash in NodCheck

From Steve Ratcliffe steve at parabola.me.uk on Wed Jul 8 20:57:33 BST 2020

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


More information about the mkgmap-dev mailing list