Hi Steve,

the current code in NodCheck (NodFile.java) stops reading route nodes when 
            if (low == 0 && flags == 0)
                    return null;
The code in mkgmap may write route nodes where both values are 0. If I got that 
right this happens when the node is (one of) the last nodes in a route center.
IIGTR the value also depends on the constant NODHeader.DEF_ALIGN
With current mkgmap the nodes in one route center are sorted by position. 
NodCheck doesn't seem to verify this so I assume there is no need for this 
order.
Maybe the nodes in Garmin maps have a different order? For example, nodes with 
flags == 0 could come first?

Gerd
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to