logo separator

[mkgmap-dev] [mkgmap-svn] Commit: r1135: Patch by Rudi for problems with multipolygons

From Steve Ratcliffe steve at parabola.demon.co.uk on Sat Aug 15 18:38:46 BST 2009

> Problem 3:
> Small multipolygons are rendered correctly but I have a problem with larger
> multipolygons. The inner holes are visible at low zoom levels, but they
> disappear if I zoom in. I don't know if this is a problem of the Garmin
> software or if this is an effect of a filter in mkgmap.
> Solution:
> Nodes with identical coordinates (where the outer way is joined with the
> inner way) seem to be the reason. I shift two nodes by one unit, now the
> multipolygon is displayed correctly if I zoom in.

In the patch, this solution is applied when the number
of points is less than 32.

Is that an exactly determined number, or is it
just a rough estimate of where things start to go wrong?


More information about the mkgmap-dev mailing list