[mkgmap-dev] Suggestion - Make Douglas Peucker Algorithm more Configurable
From Johann Gail johann.gail at gmx.de on Fri Jan 8 20:48:26 GMT 2010
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.
- Previous message: [mkgmap-dev] Suggestion - Make Douglas Peucker Algorithm more Configurable
- Next message: [mkgmap-dev] Suggestion - Make Douglas Peucker Algorithm more Configurable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list