logo separator

[mkgmap-dev] Can you set background colour in a TYP file?

From MarkS OSM at redcake.co.uk on Mon Aug 31 17:04:24 BST 2009

Mark Burton wrote:
> Hi Mark,
> 
>> However, I seem to recall that when I first played around with this the 
>> background reverted to yellow quite early on as I zoomed out. In the end 
>> this problem went away when I reduced the number of levels in my style 
>> file - originally I was using the default style which seemed to create a 
>> lot of levels (if you combined what was in the options file and extra 
>> resolutions specified in the lines/points files). Whether this was 
>> connected in any way I don't know.
> 
> That's interesting, what levels are you using now?
> 
> Cheers,
> 
> Mark
This is what I have at the moment:

levels = 0:24, 1:22, 2:21, 3:20, 4:19, 5:18, 6:16, 7:12

I also (try) to make sure that only these resolutions are used in the 
lines and points file. I seem to recall that the mkgmap default style at 
the time (about 3 months ago) used some resolutions that weren't defined 
in options file. I guessed that maybe extra levels were being created 
inside mkgmap, which caused the total number of levels to exceed the 
maximum a map file can cope with and that maybe this caused the 
background to disappear as I zoomed out.

This was about 3 months ago and I have no idea if the two issues were 
truely connected.




More information about the mkgmap-dev mailing list