logo separator

[mkgmap-dev] [PATCH] Sharpened DP filter

From Johann Gail johann.gail at gmx.de on Sun Nov 29 17:11:50 GMT 2009

Hello,

some days ago someone asked, if it is possible to make the dp filter 
more aggressive. If you apply the attached patch, it comments out the 
default dp filter and activates the straight version of the dp filter. 
Its already in the code.

This version does not look at the nodes, it straightens out as far as 
possible. This could mean some inaccuracies at crossings.

In combination with the line merging filter (V8 simplify ways) it gaves 
real straightend motorway lines at low resolutions. Looks similar to the 
garmin maps.

Feel free to try it, it works really fine, but this patch should not 
made its way into the trunk. If you find it usefull, I will prepare a 
cleaner one.

What I would achive in future is a solution between the recent dp filter 
and this aggressive one. But this is outstanding work. Next week I will 
find less time to continue work.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: straight_dp.patch
Type: text/x-patch
Size: 1172 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091129/5691d838/attachment.bin 


More information about the mkgmap-dev mailing list