logo separator

[mkgmap-dev] Making splitter and MultiPolygon code play together

From Marko Mäkelä marko.makela at iki.fi on Wed Feb 3 11:46:37 GMT 2010

On Tue, Feb 02, 2010 at 11:34:50PM +0200, Marko Mäkelä wrote:
> I can suggest two solutions to this issue:
> 
> * splitter should flag and preserve all nodes that belong to ways that belong
> to multipolygon relations (I would not care about route relations, for example)
> 
> * mkgmap should discard multipolygon relations that consist of only one way

I implemented the latter in r1555, and the fix makes the warnings for one
of the three multipolygons go away.  Splitter should still be fixed.

A fairly cheap work-around in mkgmap could be to discard those ways whose
resolvable nodes completely fall outside the bounding box when some of the
nodes cannot be resolved.

	Marko



More information about the mkgmap-dev mailing list