logo separator

[mkgmap-dev] Problem Generating gmapsupp.img

From Andrew Ayre andy at britishideas.com on Sun Dec 21 21:07:25 GMT 2008

Hi, I have a problem generating gmapsupp.img from two IMG files, 
previously generated by mkgmap. I'm probably doing something wrong, but 
I'm not sure what. Any help is appreciated.

I have two 1 degree square IMG tiles for a location in Austria. 
63275058.img contains the OSM street map, and 53275058.img contains the 
SRTM contour lines. The tiles cover the same area. You can get them from 


If I run:

java -Xmx1560M -jar ../scripts/mkgmap.jar --gmapsupp ./63275058.img

then I can view the street map just fine. The file size is around 650kb.

If I run:

  java -Xmx1560M -jar ../scripts/mkgmap.jar --gmapsupp ./53275058.img 

then the contour lines show up but not the street map. The file size is 
around 12Mb.

If I run:

  java -Xmx1560M -jar ../scripts/mkgmap.jar --gmapsupp ./63275058.img 

then the file size is around 650kb. I haven't checked to see what that 
contains, but I expect it to be only contour lines.

It seems that mkgmap is only including the first IMG tile in the 
generated gmapsupp.img. I've had this same approach (overlaying tiles) 
working for a larger region in Switzerland. Any ideas how I can solve this?

I'm running revision 699 of mkgmap. There is no output to stdout or 
stderr from mkgmap when I run the commands above.

thanks, Andy

PGP Key ID: 0xDC1B5864

More information about the mkgmap-dev mailing list