[mkgmap-dev] Strange error in mkgmap
From Steve Ratcliffe steve at parabola.me.uk on Tue Feb 13 16:13:06 GMT 2018
Hi Franco > a resulting bad map : bad_gmapsupp.img > <http://files.mkgmap.org.uk/download/420/bad_gmapsupp.img> > > Just one tile less - no problem - good_gmapsupp.img > <http://files.mkgmap.org.uk/download/421/good_gmapsupp.img> Thanks for providing this useful test case. This is a bug in the recent code used to calculate the best block size to use. It is missing a constraint on the block size to restrict the number of blocks in the directory file. The attached patch fixes this and I'll commit this today. Thanks ..Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: dir_overflow_bug.patch Type: text/x-patch Size: 586 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180213/45293120/attachment.bin>
- Previous message: [mkgmap-dev] Strange error in mkgmap
- Next message: [mkgmap-dev] Strange error in mkgmap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list