logo separator

[mkgmap-dev] Commit: r1377: Limit length of lines to work around problems when subdividing long lines.

From svn commit svn at mkgmap.org.uk on Wed Nov 11 21:25:03 GMT 2009

Version 1377 was commited by markb on 2009-11-11 21:25:03 +0000 (Wed, 11 Nov 2009) 

Limit length of lines to work around problems when subdividing long lines.

This is not the ideal solution but works as an interim fix until the
real problem is solved.

The fundamental problem appears to be that very long lines (national boundaries,
etc.) can be segmented such that some of the line's segments fall outside
the map area that the line has been assigned to. By chopping the line into
segments before the line is assigned to a subdivision, the problem is
avoided.

This can't be done for polygons and so very large polygons can still
yield errors.


More information about the mkgmap-dev mailing list