
Hi all, attached is a patch with a modified DouglasPeuckerFilter to solve the problem with "disappearing roads". I see only small differences in the maps, so I hope it doesn't introduce any side effects. The problem occured when - due the rounding of coordinates to low resolutions - a line is converted to a straight line with a spike. This is not directly related to mergeLines, but is more likely to happen with it. If I hear no complains I'll commit that patch on wednesday. Compiled binary based on trunk r3118: http://files.mkgmap.org.uk/download/191/mkgmap.jar Gerd From: gpetermann_muenchen@hotmail.com To: mkgmap-dev@lists.mkgmap.org.uk Date: Mon, 24 Mar 2014 19:50:52 +0100 Subject: Re: [mkgmap-dev] dissapearing roads Hi Andrzej,
I think you could simply disable merging at lower resolution, since ways are already merged at layer 0. But if you want to get additional merging then still processing angle would be beneficial.
dont't think so :mkgmap starts to write the lowest resolution, ends with the highest. For each resolution we can see different combinations of lines. Anyway, the new algo seems to work, I'll post a patch soon. Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev