logo separator

[mkgmap-dev] [PATCH] alpha patch for simplifying ways and reducing img size

From Mark Burton markb at ordern.com on Fri Feb 20 16:40:30 GMT 2009

Hi,

> On Fri, Feb 20, 2009 at 2:07 PM, Mark Burton <markb at ordern.com> wrote:
> > Personally, I would not want this feature enabled by default. Why not
> > add an option that turns it on and also can be used to specify the error
> > distance. e.g. --reduce-point-density to turn the feature on and
> > --reduce-point-density=NUM to turn it on and specify the, non-default,
> > error distance. The --frig-roundabouts option does a similar thing.
> 
> Considering the quality of osm data it's good to be enabled by default,
> but bad for debuging.

Well, I think you have to have a means of disabling it. Whether it is
enabled by default or not doesn't worry me too much (however, I do
think that by default, the map data should be frigged as little as
possible).

> .mp files have it as parameter added in the last version.
> from the cgps change log:
> New parameter to define simplification level of Douglas-Peucker
> simplification alg.
> 	[IMG ID]
> 	..
> 	SimplifyLevel=1
>      	This allow to change simplification level of lines and polygons.
> Allowed values between 0.1 and 10
> 
> Would it make sense to do a simplification per level let's say 24 bits
> - 10m, 23 bits 20 meters, and so on ?

As long as it can be adjusted from the options.

Cheers,

Mark



More information about the mkgmap-dev mailing list