[mkgmap-dev] bug in LineClipper (branches/nod)
From Robert Vollmert rvollmert-lists at gmx.net on Thu Nov 27 22:24:28 GMT 2008
Hi, there seems to be something wrong in LineClipper.clip -- it seems to create a bunch of zero-node roads, which then cause a crash in RoadDef.writeNod2 due to a null RoadDef.node. Since my attempts to understand LineClipper.clip failed, I reimplemented it somewhat more explicitly, patch attached. I won't be offended if you prefer to fix your algorithm; the patch is quite ugly and I'm not really sure it works outside my samples. The resulting maps appear to have some segments missing. Do you think this might be caused by clipping? Cheers Robert -------------- next part -------------- A non-text attachment was scrubbed... Name: LineClipper.patch Type: application/octet-stream Size: 1966 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20081127/c4d55e99/attachment.obj -------------- next part --------------
- Previous message: [mkgmap-dev] Commit: r721: Reversing change to the date routines in this file as I suspect they may be causing the
- Next message: [mkgmap-dev] bug in LineClipper (branches/nod)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list