OK, I've now committed this patch, see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054
________________________________________ Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <o...@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 03:22:23 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] DEM file and the block-size option For overview-map it would be fine for me, but for detailed map I need a block-size of 2k Henning On 13.01.2018 22:57, Gerd Petermann wrote: > Hi all, > > I hesitate to commit this patch because I think that some users create > overview maps > 64MB. > Please check! > > @Steve: I see you are making progress in the auto-block branch. Please stop > me if this patch causes trouble > when merging. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Steve > Ratcliffe <st...@parabola.me.uk> > Gesendet: Samstag, 13. Januar 2018 15:21:18 > An: mkgmap-dev@lists.mkgmap.org.uk > Betreff: Re: [mkgmap-dev] DEM file and the block-size option > > Hi Andrzej > >> - // There are 2 slots for the header itself. >> + // There are 2 slots for the header itself. (slots or blocks? >> code adds blocks) >> int blocksRequired = 2 + headerSlotsRequired * 512 / blockSize; > It should be slots, the code is wrong. Also it should be 1 and not 2. > > The mistake is harmless apart from the file being a little bigger than > necessary. > > ..Steve > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev