logo separator

[mkgmap-dev] Commit: r806: Off by one error is determining if a point is a node or not.

From Robert Vollmert rvollmert-lists at gmx.net on Wed Dec 10 22:04:21 GMT 2008

On Dec 10, 2008, at 22:33, Steve Ratcliffe wrote:

>> Write extra bits only if the road has nodes beside the start and end
>> node. On the assumption that start and end points are always nodes,  
>> this
>> should be equivalent to nodes.size()>2, but I've also seen .mp-files
>> where the starting or end point were not routing nodes.
>
> OK I'll change the test to n < points.size() - 1 then.

Finally, I see the bug :) Took a while, too.

Cheers
Robert




More information about the mkgmap-dev mailing list