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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to