logo separator

[mkgmap-dev] Rounding bug in splitter?

From Chris Miller chris.miller at kbcfp.com on Tue Aug 11 21:00:11 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.
> 
> V.

I see, the tile boundaries only need to be multiples of 2048, but the tile 
widths and heights must be multiples of 4096 - that makes sense to me now. 
I'll take a look and see what the best solution is to acheive this in the 
splitter.

Chris






More information about the mkgmap-dev mailing list