logo separator

[mkgmap-dev] Rounding bug in splitter?

From Valentijn Sessink valentyn at blub.net on Tue Aug 11 20:05:30 BST 2009

Chris Miller schreef:
> but my impression is that the conclusion was that the splitter should be 
> rounding areas off to boundaries in multiples of 4096 rather than 2048?

As far as I've seen - thanks to Steve Ratcliffe's findings - divisible
by 2048 is enough, if you make sure that the difference is a multiple of
4096. (i.e. if your bounds are 0x123800 and 0x456800, that is OK; but
0x123800 and 0x456000 is not OK).

Anyway, dividing by 4096 is a good method of achieving this.


More information about the mkgmap-dev mailing list