logo separator

[mkgmap-dev] DEM file and the block-size option

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jan 13 14:57:17 GMT 2018

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-bounces at lists.mkgmap.org.uk> im Auftrag von Steve Ratcliffe <steve at parabola.me.uk>
Gesendet: Samstag, 13. Januar 2018 15:21:18
An: mkgmap-dev at 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 at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list