logo separator

[mkgmap-dev] Suggestion - Make Douglas Peucker Algorithm more Configurable

From Thilo Hannemann thannema at gmx.de on Fri Jan 8 21:34:29 GMT 2010

I've tried the patch as well and it works nicely. Smaller maps, some map clutter removed and seems to be faster as well.

Regards
Thilo

Am 08.01.2010 um 21:48 schrieb Johann Gail:

> 
> 
> Felix Hartmann schrieb:
>> That patch works pretty nice. I upped the value to 40 and that gave 
>> nice results when zoomed far out.
>> Here is the settings that I would find optimal
>> resolution 24 == 4 (I think 4 is anyhow the minimum because if less 
>> than 4 pixels than it ain't an area)
>> resolution 23 == 6 ( resolution 23 is not used by all GPS devices if 
>> resolution 24 and 22 are present)
>> resolution 22 == 6
>> resolution 21 == 20
>> resolution 20 == 40
>> resolution 19 == 80
>> resolution >18 == 120
>> 
> Just to be sure there is no missunderstanding: You are not able to set 
> minsizes for each  resolution. You haven't set them, or have you?
> 
> The SizeFilter itself should shift the minsize according to the 
> resolution. I.e. if you init it with number 2 the following minsizes 
> should be uesed:
> 
> resolution 24 = 2
> resolution 23 = 4
> resolution 22 = 8
> resolution 21 = 16
> resolution 20 = 32
> resolution 19 = 64
> resolution 18 = 128
> 
> which matches roughly your demands.
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list