logo separator

[mkgmap-dev] shape merger in high-prec-coord branch

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jan 16 07:50:01 GMT 2014

Hi WanMil,

ahh, I think now I understand. 
You just want to re-combine those parts that have a small number of points?
That should be easy.
I thought you suggest to parse the shapes created by 
and replace the rounded values by the original coord instances
so that the ShapeMergeFilter is again able to merge them.
That would be more complex but might save a few more bytes.

BTW: I tried the effect of an earlier merge. The effect is rather
small, means, the img size did not decrease much, but without 
additional logic the merge takes much longer.


> Date: Wed, 15 Jan 2014 21:55:17 +0100
> From: wmgcnfg at web.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] shape merger in high-prec-coord branch
> > I think the artifacts are created by the rounding that happens
> > when we convert from or to java.awt.geom.Area.
> Yes. After the multipolygon splitting only the first and the last point 
> of a common edge of two polygons can be a point that is added 
> artificially. It sounds possible to detect if it ca be removed.
> WanMil
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140116/eb9ddbe5/attachment.html>

More information about the mkgmap-dev mailing list