logo separator

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

From Steve Ratcliffe steve at parabola.me.uk on Sat Jan 13 14:21:18 GMT 2018

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



More information about the mkgmap-dev mailing list