[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
- Previous message: [mkgmap-dev] Commit: r806: Off by one error is determining if a point is a node or not.
- Next message: [mkgmap-dev] Commit: r807: Re-work my patch to fit in with Roberts intention on how it should work.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list