logo separator

[mkgmap-dev] Level number too large

From Andrzej Popowski popej at poczta.onet.pl on Thu Jan 16 15:01:26 GMT 2020

Hi Gerd,

probably some other changes made this error to appear. I have checked 
that v4323 compiles my map, while v4386 reports error.

I'm not sure about the purpose of the patched function, but I'm afraid 
there could be problems with following example:

options: levels=0:24,1:22
style:   .... [... level 2-3]

I don't know which part of code would be responsible for discarding an 
object with levels higher than maximum. If this is due to patched 
function, then maybe better would be something like:

if (level > max)
	return levels[0].getBits() -1;


-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list