logo separator

[mkgmap-dev] Commit: r1295: An mdr file can easily overflow the maximum number of blocks. So:

From svn commit svn at mkgmap.org.uk on Mon Oct 19 15:44:31 BST 2009

Version 1295 was commited by steve on 2009-10-19 15:44:31 +0100 (Mon, 19 Oct 2009) 

An mdr file can easily overflow the maximum number of blocks. So:

1. increase the default block size to 4096 as there is not too much space penalty for larger blocks in this file.
2. Change the message on block overflow to make it clear that there is something you can do about it by changing
    block-size option.
3. Make the MDR code actually look at the block-size option:)

The new default block size of 4k allows for an mdr file up to 256M

At a later time, we may attempt to guess a value for the block size in the mdr code.


More information about the mkgmap-dev mailing list