logo separator

[mkgmap-dev] render closed waterway polygons?

From Steve Ratcliffe steve at parabola.me.uk on Sun Oct 28 21:47:56 GMT 2012

On 28/10/12 20:25, WanMil wrote:
> So the mp alg sees the green and red polygon. Nor green neither red
> contain the other polygon completely. The problem lies in the overlap so
> the current mp algorithm ignores this and assumes that green contains
> red - but only if the original green way is not closed.

Right I see. I'm not sure that there is a lot more information - 
isClosed() should always be true for a polygon and isComplete will
therefore be false in the same cases that isClosed was false before.

In all cases I saw (this was regular polygons), if isClosed is false for 
something that is meant to be a polygon it doesn't show up on the main 
Mapnik map - and so it gets fixed!

 > I will have a look on it. Can you create a branch? That will make it 
 > easier for me to add my changes.

OK I shall create a branch and put the changes on it.

Cheers,
..Steve



More information about the mkgmap-dev mailing list