logo separator

[mkgmap-dev] [PATCH v1] fix overview bounding box rounding

From Felix Hartmann extremecarver at googlemail.com on Mon Jan 18 15:07:31 GMT 2010


On 18.01.2010 15:44, Mark Burton wrote:
> Felix,
>
>    
>> Maybe it would be best to find out why the overview map does not fit if
>> created with mkgmap. If I use maptk it fits 100%.
>>      
> What resolution is the overview map created by maptk? mkgmap uses 13.
>
> Mark
>
>    
For my maps, I have lowest resolution 17 via style-file. Gmaptool/maptk 
then creates an overview map with resolution 16 (inclues one point) and 
14 (empty).

I have uploaded here the map including gmatpool / maptk overview map 
(the overview map is written by gmaptool, and compiled with maptk).:
http://openmtbmap.x-nation.de/maps/beta/mtblegendoverviewmap.zip

Probably the problem is that the overview map has to be one level below 
the last level in your map. So if in style-file/options resolution 16 is 
the last level, then overview map has to be created at 15/13.
It would be great if mkgmap would however use the lowest level not in 
normal maps, but divert into the overview map. So if resolution 16 is 
the last level in the style-file, the content would be written to 16, 
and an empty level created at 14.



More information about the mkgmap-dev mailing list