logo separator

[mkgmap-dev] Commit: r1393: Don't put too many points, lines or shapes in a subdivision.

From svn commit svn at mkgmap.org.uk on Mon Nov 16 09:39:58 GMT 2009

Version 1393 was commited by markb on 2009-11-16 09:39:57 +0000 (Mon, 16 Nov 2009) 

Don't put too many points, lines or shapes in a subdivision.

Seems that mapsource discards lines if the total amount of data in a
subdivision exceeds some limit even if the various other constraints are
all OK. So, change the test so that the sum of the sizes of the points,
lines and shapes is less than MAX_RGN_SIZE.

Also, if a subdivision can't be split because it's deemed to be too small,
make the message an error instead of a warning.


More information about the mkgmap-dev mailing list