logo separator

[mkgmap-dev] Overview Map misalignment

From Garvan & maew garvan.maew at online.com.kh on Sat Mar 27 10:23:17 GMT 2010

Hi,

I am having difficulty getting the overview map align with my osm data.

This is the bounding box for the data,

<bound box="12.00000,102.31098,14.69655,107.65625"/>
 
This is the bounding box of the Overview map created (mp format)
Data0=(12.08496,102.34864),(14.76562,102.34864),(14.76562,107.66602),(12.08496,107.66602) 

 
And one tile of the background Map Coverage Area (mp format)
 
Type=0x4b
Background=Y
Data4=(12.00256,103.64502),(12.67273,103.64502),(12.67273,104.31519),(12.00256,104.31519)

The error between the Map Coverage Area and the OSM data is within the 
range expected (<3m) but the error between the overview map and the map 
coverage area is about 4.6 km, which is unexpected. Also in mapsource 
there is a gap of about 580m where the img data is not displayed.

The attached picture shows how it looks in Mapsource.

My options file in the style gives,

levels = 0:24, 1:22, 2:20, 3:18, 4:16

But I have experimented with many different values without it making any 
difference.

I have uploaded the osm file and style file to Dropbox (Dropbox  is a 
nice cross-platform free service for those in need of a place to share 
files < 3GB total).

http://dl.dropbox.com/u/4900023/mp2osmstyle.zip  (7KB)
http://dl.dropbox.com/u/4900023/d-48.zip   (9.2MB)

What could I be doing wrong? What options could I experiment with? Where 
is the code that creates the overview map boundaries?

Thanks for any help or suggestions,

Garvan




-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard01.png
Type: image/png
Size: 20704 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100327/0d497ddd/attachment.png 


More information about the mkgmap-dev mailing list